System.Windows.Forms.LayoutEventArgs Class

Provides data for the Control.Layout event. This class cannot be inherited.

See Also: LayoutEventArgs Members

Syntax

public sealed class LayoutEventArgs : EventArgs

Remarks

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.

Requirements

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