ToolStrip.SetItemParent(ToolStripItem, ToolStrip) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables you to change the parent ToolStrip of a ToolStripItem.
protected:
static void SetItemParent(System::Windows::Forms::ToolStripItem ^ item, System::Windows::Forms::ToolStrip ^ parent);
protected static void SetItemParent (System.Windows.Forms.ToolStripItem item, System.Windows.Forms.ToolStrip parent);
static member SetItemParent : System.Windows.Forms.ToolStripItem * System.Windows.Forms.ToolStrip -> unit
Protected Shared Sub SetItemParent (item As ToolStripItem, parent As ToolStrip)
Parameters
- item
- ToolStripItem
The ToolStripItem whose Parent property is to be changed.
- parent
- ToolStrip
The ToolStrip that is the parent of the ToolStripItem referred to by the item
parameter.
Remarks
Use the SetItemParent property when creating a custom layout engine.
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.