System.Windows.Forms.Control.PerformLayout Method

Forces the control to apply layout logic to all its child controls.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public void PerformLayout ()

Remarks

If the Control.SuspendLayout method was called before calling the Control.PerformLayout method, the Control.Layout event is suppressed.

The LayoutEventArgs.AffectedControl and LayoutEventArgs.AffectedProperty properties of the System.Windows.Forms.LayoutEventArgs created are set to null if no values were provided when the Control.PerformLayout method was called.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0