Is this content useful?
Thank you for your feedback!
Thank you for your feedback! You have rated this topic in the last 30 days.
KeyEventArgs Class Members
The following tables list the members exposed by KeyEventArgs.
Public Properties
| Name | Description |
![Public Property](dotnetimages/publicProperty.gif) | Alt | Gets a value indicating whether the ALT key was pressed. |
![Public Property](dotnetimages/publicProperty.gif) | Ctrl | Gets a value indicating whether the CTRL key was pressed. |
![Public Property](dotnetimages/publicProperty.gif) | DefaultPrevented | |
![Public Property](dotnetimages/publicProperty.gif) | KeyCode | Gets the keyboard code for a KeyDown or KeyUp event. |
![Public Property](dotnetimages/publicProperty.gif) | 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](dotnetimages/publicProperty.gif) | Shift | Gets a value indicating whether the SHIFT key was pressed. |
Public Methods
See Also