System.Windows.Forms.PreviewKeyDownEventArgs: Property Members

The properties of System.Windows.Forms.PreviewKeyDownEventArgs are listed below. For a list of all members, see the PreviewKeyDownEventArgs Members list.

See Also: Inherited members from System.EventArgs

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.