Provides event data for key-based input events.
Constructors
InputKeyEventArgs(KeyEventArgs)
Initializes a new instance of the Input
Parameter | Type | Description |
---|---|---|
e | Key |
The wrapped event arguments. |
Properties
Handled
Gets or set whether the event has been handled.
Property Value
- bool:
true
if the event has been handled; otherwise,false
.
Key
Gets the keyboard key associated with the event.
Property Value
- Key:
The keyboard key associated with the event.
ModifierKeys
Gets the modifier keys that are currently pressed.
Property Value
- ModifierKeys:
The modifier keys that are currently pressed.
OriginalSource
Gets the original source of the event.
Property Value
- object:
The original source of the event.
WrappedEventArgs
Gets the wrapped event arguments.
Property Value
- Key
Event :Args The wrapped event arguments.
Methods
ToString()
Returns a string representation of this instance.