Provides data for the Control.Layout event. This class cannot be inherited.
See Also: LayoutEventArgs Members
Changes to a control such as resizing, showing or hiding child controls, and adding or removing child controls make it necessary for a control to layout its child controls. A System.Windows.Forms.LayoutEventArgs specifies the child control that has been changed and its affected property. For example, if a control has been made visible since the last layout operation, the Control.Visible property is affected.
The LayoutEventArgs.AffectedControl and LayoutEventArgs.AffectedProperty properties are set to null if no values were provided when the Control.PerformLayout method was called.
For more information about handling events, see Consuming Events.