ComponentOne Basic Library for WPF and Silverlight
ItemOpening Event (C1Menu)


C1.WPF Namespace > C1Menu Class : ItemOpening Event
Occurs when a C1MenuItem is opening.
Syntax
'Declaration
 
Public Event ItemOpening As System.EventHandler(Of CancelSourceEventArgs)
'Usage
 
Dim instance As C1Menu
Dim handler As System.EventHandler(Of CancelSourceEventArgs)
 
AddHandler instance.ItemOpening, handler
public event System.EventHandler<CancelSourceEventArgs> ItemOpening
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