ContextMenuOpeningEventArgs Class
Provides event arguments for a context menu opening event, where the menu can be customized prior to display.
public class ContextMenuOpeningEventArgs : RoutedEventArgs
- Inheritance:
- object EventArgs RoutedEventArgs object
Constructors
ContextMenuOpeningEventArgs(RoutedEvent, object, ContextMenu?)
Provides event arguments for a context menu opening event, where the menu can be customized prior to display.
public ContextMenuOpeningEventArgs(RoutedEvent routedEvent, object source, ContextMenu? menu)
| Parameter | Type | Description |
|---|---|---|
| routedEvent | RoutedEvent | The routed event identifier for this event arguments instance. |
| source | object | An alternate source that will be reported when the event is handled. |
| menu | ContextMenu | The ContextMenu that is about to be displayed. |
Properties
Menu
The ContextMenu that is about to be displayed.
Inherited Members
- EventArgs.Empty
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()