ComponentOne Basic Library for WPF and Silverlight
SubmenuClosing Event (C1MenuItem)


C1.WPF Namespace > C1MenuItem Class : SubmenuClosing Event
Occurs when a submenu is closing.
Syntax
'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
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