Edit

Bagikan melalui


ToolStripPanelRow.CanMove(ToolStrip) Method

Definition

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

Parameters

toolStripToDrag
ToolStrip

The ToolStrip to be dragged and dropped into the ToolStripPanelRow.

Returns

true if there is enough space in the ToolStripPanelRow to receive the ToolStrip; otherwise, false.

Applies to