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

Point 위치의 X 및 Y 클라이언트 좌표(픽셀)를 나타내는 ToolStripItem입니다.A Point representing the x and y client coordinates of the ToolStripItem location, in pixels.

예외

item 매개 변수의 값이 null입니다.The value of the item parameter is null.

현재 ToolStripitem 매개 변수에서 참조하는 ToolStripItem의 소유자가 아닌 경우The current ToolStrip is not the owner of the ToolStripItem referred to by the item parameter.

적용 대상