struct
KeyEvent
public sealed struct KeyEvent Information about a Widgets keyboard event.
Properties
| Name | Type | Description |
|---|---|---|
Key | KeyCode | The key that triggered this event. |
IsAutoRepeat | Boolean | Whether this key event was generated by keyboard auto-repeat. |
Text | String | Text the Key would type in a text field. |
Name | String | The name of the key that triggered this event. |
NativeKeyCode | UInt32 | OS specific key code that triggered this event. |
NativeScanCode | UInt32 | The native scan code. |
KeyboardModifiers | KeyboardModifiers | |
HasShift | Boolean | |
HasCtrl | Boolean | |
HasAlt | Boolean | |
Accepted | Boolean |
Methods
String GetButtonCodeName()