BCGControlBar Library for .NET
BeforeCloseActiveTab Event




Raised when an active tab is being closed.
Syntax
'Declaration
 
Public Event BeforeCloseActiveTab As CancelEventHandler
'Usage
 
Dim instance As TabStrip
Dim handler As CancelEventHandler
 
AddHandler instance.BeforeCloseActiveTab, handler
public event CancelEventHandler BeforeCloseActiveTab
public: __event CancelEventHandler* BeforeCloseActiveTab
public:
event CancelEventHandler^ BeforeCloseActiveTab
Event Data

The event handler receives an argument of type CancelEventArgs containing data related to this event. The following CancelEventArgs properties provide information specific to this event.

PropertyDescription
Cancel  
Remarks
Subscribe to this event and cancel it if you wish to keep the tab opened.
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

TabStrip Class
TabStrip Members

Send Feedback