Layout Event
See Also 
SourceCode.Workflow.WizardFramework.Authentication Namespace > CredentialsDialog Class : Layout Event



Glossary Item Box

Syntax

Visual Basic (Declaration)  
<SRCategoryAttribute("Layout")>
<SRDescriptionAttribute("Occurs when the control is about to lay out its contents.")>
Public Event Layout As LayoutEventHandler
Visual Basic (Usage) Copy Code
Dim instance As CredentialsDialog
Dim handler As LayoutEventHandler
 
AddHandler instance.Layout, handler
C#  
[SRCategory("Layout")]
[SRDescription("Occurs when the control is about to lay out its contents.")]
public event LayoutEventHandler Layout
C++/CLI  
[SRCategory("Layout")]
[SRDescription("Occurs when the control is about to lay out its contents.")]
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 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

See Also