Syntax
Visual Basic (Declaration) | |
---|
<SRDescriptionAttribute("Occurs when the control is about to lay out its contents.")>
<SRCategoryAttribute("Layout")>
Public Event Layout As LayoutEventHandler |
C# | |
---|
[SRDescriptionAttribute("Occurs when the control is about to lay out its contents.")]
[SRCategoryAttribute("Layout")]
public event LayoutEventHandler Layout |
Event Data
The event handler receives an argument of type LayoutEventArgs containing data related to this event. The following LayoutEventArgs properties provide information specific to this event.
Property | Description |
---|
AffectedComponent | Gets the System.ComponentModel.Component affected by the layout change. |
AffectedControl | Gets the child control affected by the change. |
AffectedProperty | Gets the property affected by the change. |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also