SpreadsheetGear 2017
ControlRemoved Event (WorkbookView)






SpreadsheetGear.Windows.Forms Namespace > WorkbookView Class : ControlRemoved Event
Syntax
'Declaration
 
<SRDescriptionAttribute("ControlOnControlRemovedDescr")>
<SRCategoryAttribute("CatBehavior")>
<System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
<System.ComponentModel.BrowsableAttribute(True)>
Public Event ControlRemoved As System.Windows.Forms.ControlEventHandler
'Usage
 
Dim instance As WorkbookView
Dim handler As System.Windows.Forms.ControlEventHandler
 
AddHandler instance.ControlRemoved, handler
[SRDescription("ControlOnControlRemovedDescr")]
[SRCategory("CatBehavior")]
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
[System.ComponentModel.Browsable(true)]
public event System.Windows.Forms.ControlEventHandler ControlRemoved
public event ControlRemoved: System.Windows.Forms.ControlEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
[SRDescription("ControlOnControlRemovedDescr")]
[SRCategory("CatBehavior")]
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
[System.ComponentModel.Browsable(true)]
public: __event System.Windows.Forms.ControlEventHandler* ControlRemoved
[SRDescription("ControlOnControlRemovedDescr")]
[SRCategory("CatBehavior")]
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
[System.ComponentModel.Browsable(true)]
public:
event System.Windows.Forms.ControlEventHandler^ ControlRemoved
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
Gets 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