Skip to content

KeyboardHandledKeyEventArgs Class

Event handler to preview key presses and cancel them.

C#
public class KeyboardHandledKeyEventArgs : HandledEventArgs

Inheritance objectEventArgsHandledEventArgs

C#
public KeyboardHandledKeyEventArgs()

The key being pressed.

C#
public AsciiKey Key { get; }