ImageMan.Net Version 3 Summer 2012 Release
Layout Event
See Also  Send Feedback
DTI.ImageMan.Winforms Namespace > ScrollableView 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 System.Windows.Forms.LayoutEventHandler
Visual Basic (Usage)Copy Code
Dim instance As ScrollableView
Dim handler As System.Windows.Forms.LayoutEventHandler
 
AddHandler instance.Layout, handler
C# 
[SRCategoryAttribute("Layout")]
[SRDescriptionAttribute("Occurs when the control is about to lay out its contents.")]
public event System.Windows.Forms.LayoutEventHandler Layout
JScript 
In JScript, you can handle the events defined by another class, but you cannot define your own.
Managed Extensions for C++ 
[SRCategoryAttribute("Layout")]
[SRDescriptionAttribute("Occurs when the control is about to lay out its contents.")]
public: __event System.Windows.Forms.LayoutEventHandler* Layout
C++/CLI 
[SRCategoryAttribute("Layout")]
[SRDescriptionAttribute("Occurs when the control is about to lay out its contents.")]
public:
event System.Windows.Forms.LayoutEventHandler^ Layout

Event Data

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.

PropertyDescription
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

© 2014 Data Techniques, Inc. All Rights Reserved.