Control.UpdateBounds Método

Definição

Atualiza os limites do controle.Updates the bounds of the control.

Sobrecargas

UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32)

Atualiza os limites do controle com o tamanho, o local e o tamanho do cliente especificados.Updates the bounds of the control with the specified size, location, and client size.

UpdateBounds(Int32, Int32, Int32, Int32)

Atualiza os limites do controle com o tamanho e o local especificados.Updates the bounds of the control with the specified size and location.

UpdateBounds()

Atualiza os limites do controle com o local e o tamanho atuais.Updates the bounds of the control with the current size and location.

UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32)

Atualiza os limites do controle com o tamanho, o local e o tamanho do cliente especificados.Updates the bounds of the control with the specified size, location, and client size.

protected:
 void UpdateBounds(int x, int y, int width, int height, int clientWidth, int clientHeight);
protected void UpdateBounds (int x, int y, int width, int height, int clientWidth, int clientHeight);
member this.UpdateBounds : int * int * int * int * int * int -> unit
Protected Sub UpdateBounds (x As Integer, y As Integer, width As Integer, height As Integer, clientWidth As Integer, clientHeight As Integer)

Parâmetros

x
Int32

A coordenada X do controle.The X coordinate of the control.

y
Int32

A coordenada Y do controle.The Y coordinate of the control.

width
Int32

O Width do controle.The Width of the control.

height
Int32

O Height do controle.The Height of the control.

clientWidth
Int32

O Width cliente do controle.The client Width of the control.

clientHeight
Int32

O Height cliente do controle.The client Height of the control.

Comentários

Se a nova Size do controle for diferente da Sizeanterior, o evento SizeChanged será gerado.If the new Size of the control is different from the previous Size, the SizeChanged event is raised. Da mesma forma, se o Location do controle for alterado, o evento LocationChanged será gerado.Likewise, if the Location of the control changes, the LocationChanged event is raised.

Veja também

UpdateBounds(Int32, Int32, Int32, Int32)

Atualiza os limites do controle com o tamanho e o local especificados.Updates the bounds of the control with the specified size and location.

protected:
 void UpdateBounds(int x, int y, int width, int height);
protected void UpdateBounds (int x, int y, int width, int height);
member this.UpdateBounds : int * int * int * int -> unit
Protected Sub UpdateBounds (x As Integer, y As Integer, width As Integer, height As Integer)

Parâmetros

x
Int32

A coordenada X do controle.The X coordinate of the control.

y
Int32

A coordenada Y do controle.The Y coordinate of the control.

width
Int32

O Width do controle.The Width of the control.

height
Int32

O Height do controle.The Height of the control.

Comentários

Se o novo Size do controle se for diferente do Sizeanterior, o evento SizeChanged será gerado.If the new Size of the control if different from the previous Size, the SizeChanged event is raised. Da mesma forma, a Location do controle é alterado, o evento LocationChanged é gerado.Likewise, is the Location of the control changes, the LocationChanged event is raised.

Veja também

UpdateBounds()

Atualiza os limites do controle com o local e o tamanho atuais.Updates the bounds of the control with the current size and location.

protected:
 void UpdateBounds();
protected void UpdateBounds ();
member this.UpdateBounds : unit -> unit
Protected Sub UpdateBounds ()

Comentários

Se a nova Size do controle for diferente da Sizeanterior, o evento SizeChanged será gerado.If the new Size of the control is different from the previous Size, the SizeChanged event is raised. Da mesma forma, se o Location do controle for alterado, o evento LocationChanged será gerado.Likewise, if the Location of the control changes, the LocationChanged event is raised.

Veja também

Aplica-se a