Method OnKeyDown
OnKeyDown(Key)
Called when the user presses a key, allowing subscribers to pre-process the key down event. Called before key bindings are invoked and KeyDownNotHandled is raised. Set Handled to true to stop the key from being processed further.
protected override bool OnKeyDown(Key a)
Parameters
a
Key
Returns
- bool
false if the key down event was not handled. true if the event was handled and processing should stop.
Remarks
Fires the KeyDown event.