ToolStripPanel::Join Method (ToolStrip^, Int32)

 

Adds the specified ToolStrip to a ToolStripPanel in the specified row.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
void Join(
	ToolStrip^ toolStripToDrag,
	int row
)

Parameters

toolStripToDrag
Type: System.Windows.Forms::ToolStrip^

The ToolStrip to add to the ToolStripPanel.

row
Type: System::Int32

An Int32 representing the ToolStripPanelRow to which the ToolStrip is added.

Exception Condition
ArgumentOutOfRangeException

The row parameter is less than zero (0).

.NET Framework
Available since 2.0
Return to top
Show: