Constructor KeyEventArgs
KeyEventArgs()
Constructs an instance of the KeyEventArgs class.
public KeyEventArgs()
KeyEventArgs(object, Key, KeyStates, ModifierKeys, uint)
Constructs an instance of the KeyEventArgs class.
public KeyEventArgs(object originalTarget, Key key, KeyStates keyStates, ModifierKeys modifiers, uint repeatCount)
Parameters
originalTarget
objectOriginal target object which received the event.
key
KeyThe key referenced by the event.
keyStates
KeyStatesThe state of the key referenced by the event.
modifiers
ModifierKeysThe set of modifier keys pressed at the time when event was received.
repeatCount
uintNumber of repeated key presses.