ToolStrip.SetItemLocation(ToolStripItem, Point) メソッド

定義

ToolStripItem上の特定の場所にToolStripを固定します。

protected public:
 void SetItemLocation(System::Windows::Forms::ToolStripItem ^ item, System::Drawing::Point location);
protected internal void SetItemLocation(System.Windows.Forms.ToolStripItem item, System.Drawing.Point location);
member this.SetItemLocation : System.Windows.Forms.ToolStripItem * System.Drawing.Point -> unit
Protected Friend Sub SetItemLocation (item As ToolStripItem, location As Point)

パラメーター

item
ToolStripItem

アンカーする ToolStripItem

location
Point

ToolStripItem位置の x および y クライアント座標をピクセル単位で表すPoint

例外

item パラメーターの値はnull

現在のToolStripは、item パラメーターによって参照されるToolStripItemの所有者ではありません。

適用対象