C1.WPF Namespace > C1Menu Class : ItemClosing Event |
'Declaration
Public Event ItemClosing As System.EventHandler(Of CancelSourceEventArgs)
'Usage
Dim instance As C1Menu Dim handler As System.EventHandler(Of CancelSourceEventArgs) AddHandler instance.ItemClosing, handler
public event System.EventHandler<CancelSourceEventArgs> ItemClosing
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.
Property | Description |
---|---|
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
Source | Gets or sets the source of the event. |
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