'Declaration
<SRCategoryAttribute("CatLayout")> <SRDescriptionAttribute("ControlOnLayoutDescr")> Public Event Layout As System.Windows.Forms.LayoutEventHandler
'Usage
Dim instance As FormulaBar Dim handler As System.Windows.Forms.LayoutEventHandler AddHandler instance.Layout, handler
[SRCategory("CatLayout")] [SRDescription("ControlOnLayoutDescr")] public event System.Windows.Forms.LayoutEventHandler Layout
The event handler receives an argument of type System.Windows.Forms.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. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2