KeyboardEventHandler-Delegat
.NET Framework 3.0
Represents the method that will handle keyboard related events.
Namespace: System.Windows.Input
Assembly: PresentationCore (in presentationcore.dll)
Assembly: PresentationCore (in presentationcore.dll)
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.