ToolStrip.SetItemParent(ToolStripItem, ToolStrip) メソッド

定義

ToolStripItem の親 ToolStrip を変更できるようにします。

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)

パラメーター

item
ToolStripItem

Parent プロパティを変更する対象の ToolStripItem

parent
ToolStrip

item パラメーターで参照される ToolStripItem の親である ToolStrip

注釈

このプロパティは、 SetItemParent カスタム レイアウト エンジンを作成するときに使用します。

適用対象