Enables you to change the parent ToolStrip of a ToolStripItem.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Syntax
Protected Shared Sub SetItemParent ( _
item As ToolStripItem, _
parent As ToolStrip _
)protected static void SetItemParent(
ToolStripItem item,
ToolStrip parent
)protected:
static void SetItemParent(
ToolStripItem^ item,
ToolStrip^ parent
)static member SetItemParent :
item:ToolStripItem *
parent:ToolStrip -> unit
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.
Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.