Syntax
Visual Basic (Declaration) | |
---|
Public Event ContextMenuOpening As System.Windows.Controls.ContextMenuEventHandler |
C# | |
---|
public event System.Windows.Controls.ContextMenuEventHandler ContextMenuOpening |
Event Data
The event handler receives an argument of type System.Windows.Controls.ContextMenuEventArgs containing data related to this event. The following ContextMenuEventArgs properties provide information specific to this event.
Property | Description |
---|
CursorLeft | Gets the horizontal position of the mouse. |
CursorTop | Gets the vertical position of the mouse. |
Handled (Inherited from System.Windows.RoutedEventArgs) | |
OriginalSource (Inherited from System.Windows.RoutedEventArgs) | |
RoutedEvent (Inherited from System.Windows.RoutedEventArgs) | |
Source (Inherited from System.Windows.RoutedEventArgs) | |
See Also