ContextMenuItemRoutedEventArgs Class
Provides event arguments for a ContextMenu-related routed event.
public class ContextMenuItemRoutedEventArgs : ItemRoutedEventArgs<ContextMenu>
- Inheritance:
- object EventArgs RoutedEventArgs ItemRoutedEventArgs<ContextMenu> object
Constructors
ContextMenuItemRoutedEventArgs(ContextMenu)
Initializes an instance of the class.
public ContextMenuItemRoutedEventArgs(ContextMenu item)
| Parameter | Type | Description |
|---|---|---|
| item | ContextMenu | The item that is the focus of this event. |
ContextMenuItemRoutedEventArgs(ContextMenu, RoutedEvent?)
Initializes an instance of the class.
public ContextMenuItemRoutedEventArgs(ContextMenu item, RoutedEvent? routedEvent)
| Parameter | Type | Description |
|---|---|---|
| item | ContextMenu | The item that is the focus of this event. |
| routedEvent | RoutedEvent | The routed event identifier for this event arguments instance. |
ContextMenuItemRoutedEventArgs(ContextMenu, RoutedEvent?, object?)
Initializes an instance of the class.
public ContextMenuItemRoutedEventArgs(ContextMenu item, RoutedEvent? routedEvent, object? source)
| Parameter | Type | Description |
|---|---|---|
| item | ContextMenu | The item that is the focus of this event. |
| 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. |
Inherited Members
- ItemRoutedEventArgs<ContextMenu>.Item
- EventArgs.Empty
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()