Enables you to change the parent System.Windows.Forms.ToolStrip of a System.Windows.Forms.ToolStripItem.
- item
- The System.Windows.Forms.ToolStripItem whose Control.Parent property is to be changed.
- parent
- The System.Windows.Forms.ToolStrip that is the parent of the System.Windows.Forms.ToolStripItem referred to by the item parameter.
Use the ToolStrip.SetItemParent(ToolStripItem, ToolStrip) property when creating a custom layout engine.