ToolStrip.SetItemLocation(ToolStripItem, Point) Método

Definición

Delimita un ToolStripItem a un lugar determinado de un 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)

Parámetros

item
ToolStripItem

ToolStripItem que se va a delimitar.

location
Point

Point que representa las coordenadas cliente X e Y de la ubicación del elemento ToolStripItem, en píxeles.

Excepciones

El valor del parámetro item es null.

El ToolStrip actual no es el propietario del ToolStripItem al que hace referencia el parámetro item.

Se aplica a