ToolStrip.SetItemLocation(ToolStripItem, Point) Método

Definición

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

Parámetros

item
ToolStripItem

ToolStripItem que se va a delimitar.The ToolStripItem to anchor.

location
Point

Point que representa las coordenadas cliente X e Y de la ubicación del elemento ToolStripItem, en píxeles.A Point representing the x and y client coordinates of the ToolStripItem location, in pixels.

Excepciones

El valor del parámetro item es null.The value of the item parameter is null.

El ToolStrip actual no es el propietario del ToolStripItem al que hace referencia el parámetro item.The current ToolStrip is not the owner of the ToolStripItem referred to by the item parameter.

Se aplica a