System.Windows.Forms.PreviewKeyDownEventArgs Members

The members of System.Windows.Forms.PreviewKeyDownEventArgs are listed below.

See Also: Inherited members from System.EventArgs

Public Constructors

Initializes a new instance of the System.Windows.Forms.PreviewKeyDownEventArgs class with the specified key.

Public Properties

[read-only]
Altbool.

Gets a value indicating whether the ALT key was pressed.

[read-only]
Controlbool.

Gets a value indicating whether the CTRL key was pressed.

IsInputKeybool.

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

[read-only]
KeyCodeKeys.

Gets the keyboard code for a Control.KeyDown or Control.KeyUp event.

[read-only]
KeyDataKeys.

Gets the key data for a Control.KeyDown or Control.KeyUp event.

[read-only]
KeyValueint.

Gets the keyboard value for a Control.KeyDown or Control.KeyUp event.

[read-only]
ModifiersKeys.

Gets the modifier flags for a Control.KeyDown or Control.KeyUp event.

[read-only]
Shiftbool.

Gets a value indicating whether the SHIFT key was pressed.