Control.UpdateBounds Método

Definición

Actualiza los límites del control.

Sobrecargas

Nombre Description
UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32)

Actualiza los límites del control con el tamaño, la ubicación y el tamaño de cliente especificados.

UpdateBounds(Int32, Int32, Int32, Int32)

Actualiza los límites del control con el tamaño y la ubicación especificados.

UpdateBounds()

Actualiza los límites del control con el tamaño y la ubicación actuales.

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

Actualiza los límites del control con el tamaño, la ubicación y el tamaño de cliente especificados.

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

Coordenada X del control.

y
Int32

Coordenada Y del control.

width
Int32

Width del control .

height
Int32

Height del control .

clientWidth
Int32

Width Cliente del control.

clientHeight
Int32

Height Cliente del control.

Comentarios

Si el nuevo Size control es diferente del anterior Size, se genera el SizeChanged evento . Del mismo modo, si cambia el Location de control, se genera el LocationChanged evento .

Consulte también

Se aplica a

UpdateBounds(Int32, Int32, Int32, Int32)

Actualiza los límites del control con el tamaño y la ubicación especificados.

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

Coordenada X del control.

y
Int32

Coordenada Y del control.

width
Int32

Width del control .

height
Int32

Height del control .

Comentarios

Si es el nuevo Size del control si es diferente del anterior Size, se genera el SizeChanged evento . Del mismo modo, es el Location de los cambios de control, se genera el LocationChanged evento .

Consulte también

Se aplica a

UpdateBounds()

Actualiza los límites del control con el tamaño y la ubicación actuales.

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

Comentarios

Si el nuevo Size control es diferente del anterior Size, se genera el SizeChanged evento . Del mismo modo, si cambia el Location de control, se genera el LocationChanged evento .

Consulte también

Se aplica a