ToolStrip.SetItemLocation(ToolStripItem, Point) Método

Definição

Ancora um ToolStripItem lugar específico em um 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

A ToolStripItem ancoragem a ser ancorada.

location
Point

Uma Point representação das coordenadas do cliente x e y do ToolStripItem local, em pixels.

Exceções

O valor do item parâmetro é null.

A corrente ToolStrip não é o proprietário do ToolStripItem referenciado pelo item parâmetro.

Aplica-se a