語言

ToolStripPanelRow.CanMove(ToolStrip) 方法

定義

取得或設定一個值,表示 a ToolStrip 是否可以拖入 ToolStripPanelRow。

public:
 bool CanMove(System::Windows::Forms::ToolStrip ^ toolStripToDrag);
public bool CanMove(System.Windows.Forms.ToolStrip toolStripToDrag);
member this.CanMove : System.Windows.Forms.ToolStrip -> bool
Public Function CanMove (toolStripToDrag As ToolStrip) As Boolean

參數

toolStripToDrag
ToolStrip

那個 ToolStrip 會被拖進去的 ToolStripPanelRow。

傳回

true 若 中 ToolStripPanelRow 空間足夠接收; ToolStrip否則, false。

適用於