Arguments for key events observed by Window.PreviewKeyDown and Window.PreviewKeyUp.
Remarks: Unlike KeyEventArgs there is deliberately no way to mark the event as handled. Monitoring a window's keys observes them, it never consumes them, so the focused control always goes on to receive the key press. Use Control.KeyDown when you need to handle or suppress a key.
Constructors
KeyMonitorEventArgs
#Initializes a new instance of the KeyMonitorEventArgs class.
Parameters:
| keyData (Keys) | Key and modifiers that were pressed |
| keyEventType (KeyEventType) | Type of key event |