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 tamanho e o local 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 o novo Size controle for diferente do anterior Size , o SizeChanged evento 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 controle for alterado, o LocationChanged evento será gerado.Likewise, if the Location of the control changes, the LocationChanged event is raised.

Confira também

Aplica-se a

Produto Introduced

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 controle for diferente do anterior Size , o SizeChanged evento será gerado.If the new Size of the control if different from the previous Size, the SizeChanged event is raised. Da mesma forma, o Location controle é alterado, o LocationChanged evento é gerado.Likewise, is the Location of the control changes, the LocationChanged event is raised.

Confira também

Aplica-se a

Produto Introduced

UpdateBounds()

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

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

Comentários

Se o novo Size controle for diferente do anterior Size , o SizeChanged evento 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 controle for alterado, o LocationChanged evento será gerado.Likewise, if the Location of the control changes, the LocationChanged event is raised.

Confira também

Aplica-se a

Produto Introduced