Represents the method that will handle keyboard-related routed events.
Assembly: PresentationCore (in PresentationCore.dll)
No existing keyboard event in WPF uses the delegate. uses the KeyboardEventArgs base class as its event data class. KeyboardEventArgs serves as the base class for the more specific KeyEventArgs and KeyboardFocusChangedEventArgs event data classes. These event data classes are used by the KeyEventHandler and KeyboardFocusChangedEventHandler delegates, and those delegates are used by existing WPF events such as UIElement.KeyDown and UIElement.LostKeyboardFocus.