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

Definizione

Ancora un oggetto ToolStripItem in un determinato punto di ToolStrip.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)

Parametri

location
Point Point Point Point

Oggetto Point che rappresenta le coordinate client x e y, in pixel, della posizione di ToolStripItem.A Point representing the x and y client coordinates of the ToolStripItem location, in pixels.

Eccezioni

Il valore del parametro item è null.The value of the item parameter is null.

Corrente ToolStrip non è il proprietario del ToolStripItem a cui fa riferimento il item parametro.The current ToolStrip is not the owner of the ToolStripItem referred to by the item parameter.

Si applica a