Assembly: PresentationCore (in presentationcore.dll)
/** @delegate */ public delegate void KeyboardEventHandler ( Object sender, KeyboardEventArgs e )
The source of the event.
The event data.
KeyboardEventHandler corresponds to the KeyboardEventArgs base class and similar to KeyboardEventArgs does not support any specific events. For more information, see the KeyEventHandler and the KeyboardFocusChangedEventHandler.
When you create a KeyboardEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event-handler delegates, see Ereignisse und Delegaten.