Control.UpdateBounds Control.UpdateBounds Control.UpdateBounds Control.UpdateBounds Method

Definizione

Aggiorna i limiti del controllo.Updates the bounds of the control.

Overload

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

Aggiorna i limiti del controllo in base alle dimensioni, alla posizione e alle dimensioni client specificate.Updates the bounds of the control with the specified size, location, and client size.

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

Aggiorna i limiti del controllo in base alla posizione e alle dimensioni specificate.Updates the bounds of the control with the specified size and location.

UpdateBounds() UpdateBounds() UpdateBounds() UpdateBounds()

Aggiorna i limiti del controllo in base alla posizione e alle dimensioni correnti.Updates the bounds of the control with the current size and location.

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

Aggiorna i limiti del controllo in base alle dimensioni, alla posizione e alle dimensioni client specificate.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)

Parametri

x
Int32 Int32 Int32 Int32

Coordinata X del controllo.The X coordinate of the control.

y
Int32 Int32 Int32 Int32

Coordinata Y del controllo.The Y coordinate of the control.

width
Int32 Int32 Int32 Int32

Valore Width del controllo.The Width of the control.

height
Int32 Int32 Int32 Int32

Valore Height del controllo.The Height of the control.

clientWidth
Int32 Int32 Int32 Int32

Valore Width client del controllo.The client Width of the control.

clientHeight
Int32 Int32 Int32 Int32

Valore Height client del controllo.The client Height of the control.

Commenti

Se il nuovo Size controllo è diverso da quello precedente Size, viene generato l' SizeChanged evento.If the new Size of the control is different from the previous Size, the SizeChanged event is raised. Analogamente, se Location l'oggetto del controllo cambia, LocationChanged viene generato l'evento.Likewise, if the Location of the control changes, the LocationChanged event is raised.

Vedi anche

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

Aggiorna i limiti del controllo in base alla posizione e alle dimensioni specificate.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)

Parametri

x
Int32 Int32 Int32 Int32

Coordinata X del controllo.The X coordinate of the control.

y
Int32 Int32 Int32 Int32

Coordinata Y del controllo.The Y coordinate of the control.

width
Int32 Int32 Int32 Int32

Valore Width del controllo.The Width of the control.

height
Int32 Int32 Int32 Int32

Valore Height del controllo.The Height of the control.

Commenti

Se il nuovo Size oggetto del controllo è diverso da quello precedente Size, viene SizeChanged generato l'evento.If the new Size of the control if different from the previous Size, the SizeChanged event is raised. Analogamente, è Location l'oggetto del controllo modificato, LocationChanged viene generato l'evento.Likewise, is the Location of the control changes, the LocationChanged event is raised.

Vedi anche

UpdateBounds() UpdateBounds() UpdateBounds() UpdateBounds()

Aggiorna i limiti del controllo in base alla posizione e alle dimensioni correnti.Updates the bounds of the control with the current size and location.

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

Commenti

Se il nuovo Size controllo è diverso da quello precedente Size, viene generato l' SizeChanged evento.If the new Size of the control is different from the previous Size, the SizeChanged event is raised. Analogamente, se Location l'oggetto del controllo cambia, LocationChanged viene generato l'evento.Likewise, if the Location of the control changes, the LocationChanged event is raised.

Vedi anche

Si applica a