The properties of the KeyEventArgs class are listed below. For a complete list of KeyEventArgs class members, see the KeyEventArgs Members topic.
Alt | Gets a value indicating whether the ALT key was pressed. |
Control | Gets a value indicating whether the CTRL key was pressed. |
ExtendedInfo (inherited from EventArgs) | Holds a reference to an object that manages the event's state. |
Handled | Gets or sets a value indicating whether the event was handled. |
KeyCode | Gets the keyboard code for a System.WinForms.Control.KeyDown or System.WinForms.Control.KeyUp event. |
KeyData | Gets the key data for a System.WinForms.Control.KeyDown or System.WinForms.Control.KeyUp event. |
Modifiers | Gets the modifier flags for a System.WinForms.Control.KeyDown or System.WinForms.Control.KeyUp event. This indicates which modifier keys (CTRL, SHIFT, and/or ALT) were pressed. |
Shift | Gets a value indicating whether the SHIFT key was pressed. |