Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ContainerControl::PerformAutoScale Method ()

 

Performs scaling of the container control and its children.

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

public:
void PerformAutoScale()

An explicit call to the PerformAutoScale method is typically only required after programmatic changes to the layout during run time. PerformAutoScale is implicitly called from the OnLayout method.

PerformAutoScale is recursive; each child control, if it is a container, will have its version of this method called when the container's version executes.

For more information about automatic scaling, see Automatic Scaling in Windows Forms.

.NET Framework
Available since 2.0
Return to top
Show: