KeyEventArgs Properties |
The KeyEventArgs type exposes the following members.
| Name | Description | |
|---|---|---|
| Alt | Gets a value indicating whether the ALT key was pressed. (Inherited from KeyEventArgs.) | |
| Control | Gets a value indicating whether the CTRL key was pressed. (Inherited from KeyEventArgs.) | |
| Handled | Gets or sets a value indicating whether the event was handled. (Inherited from KeyEventArgs.) | |
| KeyCode | Gets the keyboard code for a KeyDown or KeyUp event. (Inherited from KeyEventArgs.) | |
| KeyData | Gets the key data for a KeyDown or KeyUp event. (Inherited from KeyEventArgs.) | |
| KeyValue | Gets the keyboard value for a KeyDown or KeyUp event. (Inherited from KeyEventArgs.) | |
| Modifiers | Gets the modifier flags for a KeyDown or KeyUp event. The flags indicate which combination of CTRL, SHIFT, and ALT keys was pressed. (Inherited from KeyEventArgs.) | |
| ScanCode |
Gets the hardware scan code of the key that raised this event.
| |
| Shift | Gets a value indicating whether the SHIFT key was pressed. (Inherited from KeyEventArgs.) | |
| Simulated |
Gets a value indicating whether the event has been simulated or issued because of a physical
keyboard action.
| |
| SuppressKeyPress | Gets or sets a value indicating whether the key event should be passed on to the underlying control. (Inherited from KeyEventArgs.) | |
| Time |
Gets the time the event was raised at.
|