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


C1.Silverlight 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
Gets or sets a value indicating whether the event should be canceled. (Inherited from C1.Silverlight.CancelEventArgs)
Gets or sets the source of the event.  
See Also