Visual Basic (Declaration) | |
---|---|
<SRDescriptionAttribute("Occurs when a control is removed from this control.")> <SRCategoryAttribute("Behavior")> <EditorBrowsableAttribute(EditorBrowsableState.Advanced)> <BrowsableAttribute(True)> Public Event ControlRemoved As ControlEventHandler |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DControl Dim handler As ControlEventHandler AddHandler instance.ControlRemoved, handler |
C# | |
---|---|
[SRDescriptionAttribute("Occurs when a control is removed from this control.")] [SRCategoryAttribute("Behavior")] [EditorBrowsableAttribute(EditorBrowsableState.Advanced)] [BrowsableAttribute(true)] public event ControlEventHandler ControlRemoved |
C++/CLI | |
---|---|
[SRDescriptionAttribute("Occurs when a control is removed from this control.")] [SRCategoryAttribute("Behavior")] [EditorBrowsableAttribute(EditorBrowsableState.Advanced)] [BrowsableAttribute(true)] public: event ControlEventHandler^ ControlRemoved |
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