_PreviewKeyDownEventArgs Type

Provides data for the OnPreviewKeyDown event.

Namespace: CNClrLib.Control.EventArgs
type
 _PreviewKeyDownEventArgs = CNClrLib.Windows._PreviewKeyDownEventArgs;

For more information, see PreviewKeyDownEventArgs in C#.

Properties
Description

Alt

Gets a value indicating whether the ALT key was presse

Control

Gets a value indicating whether the CTRL key was pressed.

IsInputKey

Gets or sets a value indicating whether a key is a regular input key.

KeyCode

Gets the keyboard code for a OnKeyDown or OnKeyUp even

KeyData

Gets the key code combined with key modifiers such as the SHIFT, CONTROL, and ALT keys for a OnKeyDown or OnKeyUp event.

KeyValue

Gets the keyboard value for a OnKeyDown or OnKeyUp event.

Modifiers

Gets the modifier flags for a OnKeyDown or OnKeyUp event.

Shift

Gets a value indicating whether the SHIFT key was pressed.