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

定義

ToolStripの親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)

パラメーター

item
ToolStripItem

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

parent
ToolStrip

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

注釈

カスタム レイアウト エンジンを作成するときは、 SetItemParent(ToolStripItem, ToolStrip) メソッドを使用します。

適用対象