KeyEventArgs Class |
Namespace: Eto.Forms
The KeyEventArgs type exposes the following members.
| Name | Description | |
|---|---|---|
| KeyEventArgs |
Initializes a new instance of the KeyPressEventArgs class for a character key press
|
| Name | Description | |
|---|---|---|
| Alt |
Gets whether the alt key was pressed/released for the event
| |
| Application |
Gets whether the application key was pressed/released for the event
| |
| Control |
Gets whether the control key was pressed/released for the event
| |
| Handled |
Gets or sets a value indicating that this event was handled by user code
| |
| IsChar |
Gets a value indicating that the key press corresponds to a character input value
| |
| Key |
Gets the key value (without modifiers)
| |
| KeyChar |
Gets the key character corresponding to the key press (if IsChar is true)
| |
| KeyData | ||
| KeyEventType |
Gets the type of the key event.
| |
| Modifiers |
Gets the modifier keys that were pressed for this event
| |
| Shift |
Gets whether the shift key was pressed/released for the event
|
| Name | Description | |
|---|---|---|
| IsKeyDown |
Determines whether the specified key and modifier was pressed
| |
| IsKeyUp |
Determines whether the specified key and modifier was released
|