| Visual Basic (Declaration) | |
|---|---|
<SRDescriptionAttribute("Occurs when a control is added to this control.")>
<BrowsableAttribute(True)>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
<SRCategoryAttribute("Behavior")>
Public Event ControlAdded As ControlEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Medical3DControl Dim handler As ControlEventHandler AddHandler instance.ControlAdded, handler | |
| C# | |
|---|---|
[SRDescriptionAttribute("Occurs when a control is added to this control.")]
[BrowsableAttribute(true)]
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
[SRCategoryAttribute("Behavior")]
public event ControlEventHandler ControlAdded | |
| C++/CLI | |
|---|---|
[SRDescriptionAttribute("Occurs when a control is added to this control.")]
[BrowsableAttribute(true)]
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
[SRCategoryAttribute("Behavior")]
public:
event ControlEventHandler^ ControlAdded | |
The event handler receives an argument of type ControlEventArgs containing data related to this event. The following ControlEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Control | Gets the control object used by this event. |
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code