SpreadsheetGear 2012
ControlAdded Event (ShapeExplorer)






Syntax
'Declaration
 
<System.ComponentModel.BrowsableAttribute(True)>
<SRCategoryAttribute("Behavior")>
<System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
<SRDescriptionAttribute("Occurs when a control is added to this control.")>
Public Event ControlAdded As System.Windows.Forms.ControlEventHandler
'Usage
 
Dim instance As ShapeExplorer
Dim handler As System.Windows.Forms.ControlEventHandler
 
AddHandler instance.ControlAdded, handler
[System.ComponentModel.Browsable(true)]
[SRCategory("Behavior")]
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
[SRDescription("Occurs when a control is added to this control.")]
public event System.Windows.Forms.ControlEventHandler ControlAdded
public event ControlAdded: System.Windows.Forms.ControlEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
[System.ComponentModel.Browsable(true)]
[SRCategory("Behavior")]
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
[SRDescription("Occurs when a control is added to this control.")]
public: __event System.Windows.Forms.ControlEventHandler* ControlAdded
[System.ComponentModel.Browsable(true)]
[SRCategory("Behavior")]
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
[SRDescription("Occurs when a control is added to this control.")]
public:
event System.Windows.Forms.ControlEventHandler^ ControlAdded
Event Data

The event handler receives an argument of type System.Windows.Forms.ControlEventArgs containing data related to this event. The following ControlEventArgs properties provide information specific to this event.

PropertyDescription
ControlGets the control object used by this event.  
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

Reference

ShapeExplorer Class
ShapeExplorer Members

Send Feedback