KeyEventArgs Class
Provides data for the KeyDown or KeyUp event from a Form control.
Namespace: elsystem.windows.forms
Properties
Additional
properties, methods, and events are described in the classes listed
under Inheritance Hierarchy (see below).
Name | Type | Description | |
![]() |
Alt | bool | True if the Alt key was pressed, otherwise false. |
![]() |
Control | bool | True if the Ctrl key was pressed, otherwise false. |
![]() |
KeyCode | enum | Gets the keyboard code for a KeyDown or KeyUp event. |
![]() |
KeyData | enum | Gets the key data for a KeyDown or KeyUp event. |
![]() |
KeyValue | int | Gets the keyboard value for a KeyDown or KeyUp event. |
![]() |
Modifiers | enum | Gets the modifier flags for a KeyDown or KeyUp event. The flags indicate which combination of CTRL, SHIFT, and ALT keys was pressed. |
![]() |
Shift | bool | True if the Shift key was pressed, otherwise false. |
![]() |
SuppressKeyPress | bool | Gets or sets a value indicating whether the key event should be passed on to the underlying control. |
Inheritance Hierarchy
elsystem.windows.forms.HandledEventArgs
elsystem.windows.forms.KeyEventArgs