Control.UpdateBounds Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Updates the bounds of the control with the current size and location.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected internal void UpdateBounds()

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.

.NET Framework
Available since 1.1
Return to top
Show: