ComponentOne Basic Library for WPF and Silverlight
TabItemClosing Event (C1TabControl)


C1.WPF Namespace > C1TabControl Class : TabItemClosing Event
Occurs before a C1TabItem is closed.
Syntax
'Declaration
 
Public Event TabItemClosing As System.EventHandler(Of CancelSourceEventArgs)
'Usage
 
Dim instance As C1TabControl
Dim handler As System.EventHandler(Of CancelSourceEventArgs)
 
AddHandler instance.TabItemClosing, handler
public event System.EventHandler<CancelSourceEventArgs> TabItemClosing
Event Data

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

PropertyDescription
(Inherited from System.ComponentModel.CancelEventArgs)
Gets or sets the source of the event.  
See Also