ToolStrip::SetItemParent Method (ToolStripItem^, ToolStrip^)
.NET Framework (current version)
Enables you to change the parent ToolStrip of a ToolStripItem.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- item
-
Type:
System.Windows.Forms::ToolStripItem^
The ToolStripItem whose Parent property is to be changed.
- parent
-
Type:
System.Windows.Forms::ToolStrip^
The ToolStrip that is the parent of the ToolStripItem referred to by the item parameter.
Use the SetItemParent property when creating a custom layout engine.
.NET Framework
Available since 2.0
Available since 2.0
Show: