ToolStripPanelRow.CanMove(ToolStrip) ToolStripPanelRow.CanMove(ToolStrip) ToolStripPanelRow.CanMove(ToolStrip) ToolStripPanelRow.CanMove(ToolStrip) Method

定义

获取或设置一个值,指示能否将 ToolStrip 拖放到 ToolStripPanelRow 中。Gets or sets a value indicating whether a ToolStrip can be dragged and dropped into a 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 ToolStrip ToolStrip

要拖放到 ToolStrip 中的 ToolStripPanelRowThe ToolStrip to be dragged and dropped into the ToolStripPanelRow.

返回

如果 ToolStripPanelRow 中有足够的空间接收 ToolStrip,则为 true;否则为 falsetrue if there is enough space in the ToolStripPanelRow to receive the ToolStrip; otherwise, false.

适用于