Export (0) Print
Expand All

KeyEventArgs Properties

The KeyEventArgs type exposes the following members.

  Name Description
Public property Alt Gets a value indicating whether the ALT key was pressed.
Public property Control Gets a value indicating whether the CTRL key was pressed.
Public property Handled Gets or sets a value indicating whether the event was handled.
Public property KeyCode Gets the keyboard code for a KeyDown or KeyUp event.
Public property KeyData Gets the key data for a KeyDown or KeyUp event.
Public property KeyValue Gets the keyboard value for a KeyDown or KeyUp event.
Public property Modifiers Gets the modifier flags for a KeyDown or KeyUp event. The flags indicate which combination of CTRL, SHIFT, and ALT keys was pressed.
Public property Shift Gets a value indicating whether the SHIFT key was pressed.
Public property SuppressKeyPress Gets or sets a value indicating whether the key event should be passed on to the underlying control.
Top
Show:
© 2014 Microsoft