Control.UpdateBounds Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates the bounds of the control.
Overloads
UpdateBounds(Int32, Int32, Int32, Int32) |
Updates the bounds of the control with the specified size and location. |
UpdateBounds() |
Updates the bounds of the control with the current size and location. |
UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32) |
Updates the bounds of the control with the specified size, location, and client size. |
UpdateBounds(Int32, Int32, Int32, Int32)
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)
Parameters
Remarks
If the new Size of the control if different from the previous Size, the SizeChanged event is raised. Likewise, is the Location of the control changes, the LocationChanged event is raised.
See also
Applies to
UpdateBounds()
Updates the bounds of the control with the current size and location.
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 ()
Remarks
If the new Size of the control is different from the previous Size, the SizeChanged event is raised. Likewise, if the Location of the control changes, the LocationChanged event is raised.
See also
Applies to
UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32)
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)
Parameters
Remarks
If the new Size of the control is different from the previous Size, the SizeChanged event is raised. Likewise, if the Location of the control changes, the LocationChanged event is raised.