Method RaiseKeyDownEvent
RaiseKeyDownEvent(Key)
Called when the user presses a key (by the IDriver). Raises the cancelable KeyDown event, then calls NewKeyDownEvent(Key) on all top level views, and finally if the key was not handled, invokes any Application-scoped KeyBindings.
[Obsolete("The legacy static Application object is going away.")]
public static bool RaiseKeyDownEvent(Key key)
Parameters
keyKey
Returns
Remarks
Can be used to simulate key press events.