The members of System.Windows.Forms.KeyEventArgs are listed below.
See Also: Inherited members from System.EventArgs
Initializes a new instance of the System.Windows.Forms.KeyEventArgs class. |
[read-only] | Alt | bool.
Gets a value indicating whether the ALT key was pressed. |
[read-only] | Control | bool.
Gets a value indicating whether the CTRL key was pressed. |
Handled | bool.
Gets or sets a value indicating whether the event was handled. | |
[read-only] | KeyCode | Keys.
Gets the keyboard code for a Control.KeyDown or Control.KeyUp event. |
[read-only] | KeyData | Keys.
Gets the key data for a Control.KeyDown or Control.KeyUp event. |
[read-only] | KeyValue | int.
Gets the keyboard value for a Control.KeyDown or Control.KeyUp event. |
[read-only] | Modifiers | Keys.
Gets the modifier flags for a Control.KeyDown or Control.KeyUp event. The flags indicate which combination of CTRL, SHIFT, and ALT keys was pressed. |
[read-only] | Shift | bool.
Gets a value indicating whether the SHIFT key was pressed. |
SuppressKeyPress | bool.
Gets or sets a value indicating whether the key event should be passed on to the underlying control. |