C1.WPF Namespace > C1MenuItem Class : SubmenuClosing Event |
'Declaration
Public Event SubmenuClosing As System.EventHandler(Of CancelSourceEventArgs)
'Usage
Dim instance As C1MenuItem Dim handler As System.EventHandler(Of CancelSourceEventArgs) AddHandler instance.SubmenuClosing, handler
public event System.EventHandler<CancelSourceEventArgs> SubmenuClosing
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