ToolStrip.SetItemLocation(ToolStripItem, Point) ToolStrip.SetItemLocation(ToolStripItem, Point) ToolStrip.SetItemLocation(ToolStripItem, Point) ToolStrip.SetItemLocation(ToolStripItem, Point) Method

定義

ToolStripItemToolStrip 上の特定の位置に固定します。Anchors a ToolStripItem to a particular place on a 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)

パラメーター

location
Point Point Point Point

ToolStripItem 位置の x および y クライアント座標をピクセル単位で表すPointA Point representing the x and y client coordinates of the ToolStripItem location, in pixels.

例外

item パラメーターの値が null です。The value of the item parameter is null.

現在ToolStripの所有者ではなく、ToolStripItemによって参照される、itemパラメーター。The current ToolStrip is not the owner of the ToolStripItem referred to by the item parameter.

適用対象