Key Enum
Definition
Defines the keys available on a keyboard.
public enum Key
Fields
| Name | Description |
|---|---|
| A | The A key. |
| AbntC1 | The ABNT_C1 (Brazilian) key. |
| AbntC2 | The ABNT_C2 (Brazilian) key. |
| Add | The Add key. |
| Apps | The Application key. |
| Attn | The ATTN key. |
| B | The B key. |
| Back | The Back key. |
| BrowserBack | The browser Back key. |
| BrowserFavorites | The browser Favorites key. |
| BrowserForward | The browser Forward key. |
| BrowserHome | The browser Home key. |
| BrowserRefresh | The browser Refresh key. |
| BrowserSearch | The browser Search key. |
| BrowserStop | The browser Stop key. |
| C | The C key. |
| Cancel | The Cancel key. |
| Capital | The Caps Lock key. |
| CapsLock | The Caps Lock key. |
| Clear | The Clear key. |
| CrSel | The CRSEL key. |
| D | The D key. |
| D0 | The 0 key. |
| D1 | The 1 key. |
| D2 | The 2 key. |
| D3 | The 3 key. |
| D4 | The 4 key. |
| D5 | The 5 key. |
| D6 | The 6 key. |
| D7 | The 7 key. |
| D8 | The 8 key. |
| D9 | The 9 key. |
| DbeAlphanumeric | The DBE_ALPHANUMERIC key. |
| DbeCodeInput | The DBE_CODEINPUT key. |
| DbeDbcsChar | The DBE_DBCSCHAR key. |
| DbeDetermineString | The DBE_DETERMINESTRING key. |
| DbeEnterDialogConversionMode | The DBE_ENTERDLGCONVERSIONMODE key. |
| DbeEnterImeConfigureMode | The DBE_ENTERIMECONFIGMODE key. |
| DbeEnterWordRegisterMode | The DBE_ENTERWORDREGISTERMODE key. |
| DbeFlushString | The DBE_FLUSHSTRING key. |
| DbeHiragana | The DBE_HIRAGANA key. |
| DbeKatakana | The DBE_KATAKANA key. |
| DbeNoCodeInput | The DBE_NOCODEINPUT key. |
| DbeNoRoman | The DBE_NOROMAN key. |
| DbeRoman | The DBE_ROMAN key. |
| DbeSbcsChar | The DBE_SBCSCHAR key. |
| DeadCharProcessed | The key is used with another key to create a single combined character. |
| Decimal | The Decimal key. |
| Delete | The Delete key. |
| Divide | The Divide key. |
| Down | The Down arrow key. |
| E | The E key. |
| End | The End key. |
| Enter | The Enter key. |
| EraseEof | The ERASE EOF Key. |
| Escape | The Escape key. |
| ExSel | The EXSEL key. |
| Execute | The Execute key. |
| F | The F key. |
| F1 | The F1 key. |
| F10 | The F10 key. |
| F11 | The F11 key. |
| F12 | The F12 key. |
| F13 | The F13 key. |
| F14 | The F14 key. |
| F15 | The F15 key. |
| F16 | The F16 key. |
| F17 | The F17 key. |
| F18 | The F18 key. |
| F19 | The F19 key. |
| F2 | The F2 key. |
| F20 | The F20 key. |
| F21 | The F21 key. |
| F22 | The F22 key. |
| F23 | The F23 key. |
| F24 | The F24 key. |
| F3 | The F3 key. |
| F4 | The F4 key. |
| F5 | The F5 key. |
| F6 | The F6 key. |
| F7 | The F7 key. |
| F8 | The F8 key. |
| F9 | The F9 key. |
| FinalMode | The IME Final mode key. |
| FnDownArrow | OSX Platform-specific Fn+Down key |
| FnLeftArrow | OSX Platform-specific Fn+Left key |
| FnRightArrow | OSX Platform-specific Fn+Right key |
| FnUpArrow | OSX Platform-specific Fn+Up key |
| G | The G key. |
| H | The H key. |
| HangulMode | The IME Hangul mode key. |
| HanjaMode | The IME Hanja mode key. |
| Help | The Help key. |
| Home | The Home key. |
| I | The I key. |
| ImeAccept | The IME Accept key. |
| ImeConvert | The IME Convert key. |
| ImeModeChange | The IME Mode change key. |
| ImeNonConvert | The IME NonConvert key. |
| ImeProcessed | A special key masking the real key being processed by an IME. |
| Insert | The Insert key. |
| J | The J key. |
| JunjaMode | The IME Junja mode key. |
| K | The K key. |
| KanaMode | The IME Kana mode key. |
| KanjiMode | The IME Kanji mode key. |
| L | The L key. |
| LWin | The left Windows key. |
| LaunchApplication1 | The Launch Application 1 key. |
| LaunchApplication2 | The Launch Application 2 key. |
| LaunchMail | The Launch Mail key. |
| Left | The Left arrow key. |
| LeftAlt | The left Alt key. |
| LeftCtrl | The left Ctrl key. |
| LeftShift | The left Shift key. |
| LineFeed | The Linefeed key. |
| M | The M key. |
| MediaBlue | Remote control Blue button |
| MediaChannelList | TV Channel up |
| MediaChannelLower | TV Channel down |
| MediaChannelRaise | TV Channel up |
| MediaGreen | Remote control Green button |
| MediaHome | Remove control home button |
| MediaInfo | Remote control channel info button |
| MediaMenu | Remote control Menu button |
| MediaMore | Remote control dots button |
| MediaNextTrack | The media Next Track key. |
| MediaOption | Remote control option button |
| MediaPlayPause | The media Play/Pause key. |
| MediaPreviousChannel | Remote control Previous Channel |
| MediaPreviousTrack | The media Previous Track key. |
| MediaRecord | TV Channel down |
| MediaRed | Remote control Red button |
| MediaSearch | Remote control search button |
| MediaStop | The media Stop key. |
| MediaSubtitle | Remote control subtitle/caption button |
| MediaTvGuide | Remote control Tv guide detail button |
| MediaYellow | Remote control Yellow button |
| Multiply | The Multiply key. |
| N | The N key. |
| Next | The Page Down key. |
| NoName | Reserved for future use. |
| None | No key pressed. |
| NumLock | The Numlock key. |
| NumPad0 | The 0 key on the numeric keypad. |
| NumPad1 | The 1 key on the numeric keypad. |
| NumPad2 | The 2 key on the numeric keypad. |
| NumPad3 | The 3 key on the numeric keypad. |
| NumPad4 | The 4 key on the numeric keypad. |
| NumPad5 | The 5 key on the numeric keypad. |
| NumPad6 | The 6 key on the numeric keypad. |
| NumPad7 | The 7 key on the numeric keypad. |
| NumPad8 | The 8 key on the numeric keypad. |
| NumPad9 | The 9 key on the numeric keypad. |
| O | The O key. |
| Oem1 | The OEM 1 key. |
| Oem102 | The OEM 3 key. |
| Oem2 | The OEM 2 key. |
| Oem3 | The OEM 3 key. |
| Oem4 | The OEM 4 key. |
| Oem5 | The OEM 5 key. |
| Oem6 | The OEM 6 key. |
| Oem7 | The OEM 7 key. |
| Oem8 | The OEM 8 key. |
| OemAttn | The OEM ATTN key. |
| OemAuto | The OEM Auto key. |
| OemBackTab | The OEM BackTab key. |
| OemBackslash | The OEM Backslash key. |
| OemClear | The OEM Clear key. |
| OemCloseBrackets | The OEM Close Brackets key. |
| OemComma | The OEM Comma key. |
| OemCopy | The OEM Copy key. |
| OemEnlw | The OEM ENLW key. |
| OemFinish | The OEM Finish key. |
| OemMinus | The OEM Minus key. |
| OemOpenBrackets | The OEM Open Brackets key. |
| OemPeriod | The OEM Period key. |
| OemPipe | The OEM Pipe key. |
| OemPlus | The OEM Plus key. |
| OemQuestion | The OEM Question Mark key. |
| OemQuotes | The OEM Quotes key. |
| OemSemicolon | The OEM Semicolon key. |
| OemTilde | The OEM Tilde key. |
| P | The P key. |
| Pa1 | The PA1 key. |
| PageDown | The Page Down key. |
| PageUp | The Page Up key. |
| Pause | The Pause key. |
| Play | The Play key. |
| The Print key. | |
| PrintScreen | The Print Screen key. |
| Prior | The Page Up key. |
| Q | The Q key. |
| R | The R key. |
| RWin | The right Windows key. |
| Return | The Return key. |
| Right | The Right arrow key. |
| RightAlt | The right Alt key. |
| RightCtrl | The right Ctrl key. |
| RightShift | The right Shift key. |
| S | The S key. |
| Scroll | The Scroll key. |
| Select | The Select key. |
| SelectMedia | The Select Media key. |
| Separator | The Separator key. |
| Sleep | The Sleep key. |
| Snapshot | The Print Screen key. |
| Space | The space bar. |
| Subtract | The Subtract key. |
| System | A special key masking the real key being processed as a system key. |
| T | The T key. |
| Tab | The Tab key. |
| U | The U key. |
| Up | The Up arrow key. |
| V | The V key. |
| VolumeDown | The Volume Down key. |
| VolumeMute | The Volume Mute key. |
| VolumeUp | The Volume Up key. |
| W | The W key. |
| X | The X key. |
| Y | The Y key. |
| Z | The Z key. |
| Zoom | The Zoom key. |
A Field
The A key.
public Avalonia.Input.Key A
AbntC1 Field
The ABNT_C1 (Brazilian) key.
public Avalonia.Input.Key AbntC1
AbntC2 Field
The ABNT_C2 (Brazilian) key.
public Avalonia.Input.Key AbntC2
Add Field
The Add key.
public Avalonia.Input.Key Add
Apps Field
The Application key.
public Avalonia.Input.Key Apps
Attn Field
The ATTN key.
public Avalonia.Input.Key Attn
B Field
The B key.
public Avalonia.Input.Key B
Back Field
The Back key.
public Avalonia.Input.Key Back
BrowserBack Field
The browser Back key.
public Avalonia.Input.Key BrowserBack
BrowserFavorites Field
The browser Favorites key.
public Avalonia.Input.Key BrowserFavorites
BrowserForward Field
The browser Forward key.
public Avalonia.Input.Key BrowserForward
BrowserHome Field
The browser Home key.
public Avalonia.Input.Key BrowserHome
BrowserRefresh Field
The browser Refresh key.
public Avalonia.Input.Key BrowserRefresh
BrowserSearch Field
The browser Search key.
public Avalonia.Input.Key BrowserSearch
BrowserStop Field
The browser Stop key.
public Avalonia.Input.Key BrowserStop
C Field
The C key.
public Avalonia.Input.Key C
Cancel Field
The Cancel key.
public Avalonia.Input.Key Cancel
Capital Field
The Caps Lock key.
public Avalonia.Input.Key Capital
CapsLock Field
The Caps Lock key.
public Avalonia.Input.Key CapsLock
Clear Field
The Clear key.
public Avalonia.Input.Key Clear
CrSel Field
The CRSEL key.
public Avalonia.Input.Key CrSel
D Field
The D key.
public Avalonia.Input.Key D
D0 Field
The 0 key.
public Avalonia.Input.Key D0
D1 Field
The 1 key.
public Avalonia.Input.Key D1
D2 Field
The 2 key.
public Avalonia.Input.Key D2
D3 Field
The 3 key.
public Avalonia.Input.Key D3
D4 Field
The 4 key.
public Avalonia.Input.Key D4
D5 Field
The 5 key.
public Avalonia.Input.Key D5
D6 Field
The 6 key.
public Avalonia.Input.Key D6
D7 Field
The 7 key.
public Avalonia.Input.Key D7
D8 Field
The 8 key.
public Avalonia.Input.Key D8
D9 Field
The 9 key.
public Avalonia.Input.Key D9
DbeAlphanumeric Field
The DBE_ALPHANUMERIC key.
public Avalonia.Input.Key DbeAlphanumeric
DbeCodeInput Field
The DBE_CODEINPUT key.
public Avalonia.Input.Key DbeCodeInput
DbeDbcsChar Field
The DBE_DBCSCHAR key.
public Avalonia.Input.Key DbeDbcsChar
DbeDetermineString Field
The DBE_DETERMINESTRING key.
public Avalonia.Input.Key DbeDetermineString
DbeEnterDialogConversionMode Field
The DBE_ENTERDLGCONVERSIONMODE key.
public Avalonia.Input.Key DbeEnterDialogConversionMode
DbeEnterImeConfigureMode Field
The DBE_ENTERIMECONFIGMODE key.
public Avalonia.Input.Key DbeEnterImeConfigureMode
DbeEnterWordRegisterMode Field
The DBE_ENTERWORDREGISTERMODE key.
public Avalonia.Input.Key DbeEnterWordRegisterMode
DbeFlushString Field
The DBE_FLUSHSTRING key.
public Avalonia.Input.Key DbeFlushString
DbeHiragana Field
The DBE_HIRAGANA key.
public Avalonia.Input.Key DbeHiragana
DbeKatakana Field
The DBE_KATAKANA key.
public Avalonia.Input.Key DbeKatakana
DbeNoCodeInput Field
The DBE_NOCODEINPUT key.
public Avalonia.Input.Key DbeNoCodeInput
DbeNoRoman Field
The DBE_NOROMAN key.
public Avalonia.Input.Key DbeNoRoman
DbeRoman Field
The DBE_ROMAN key.
public Avalonia.Input.Key DbeRoman
DbeSbcsChar Field
The DBE_SBCSCHAR key.
public Avalonia.Input.Key DbeSbcsChar
DeadCharProcessed Field
The key is used with another key to create a single combined character.
public Avalonia.Input.Key DeadCharProcessed
Decimal Field
The Decimal key.
public Avalonia.Input.Key Decimal
Delete Field
The Delete key.
public Avalonia.Input.Key Delete
Divide Field
The Divide key.
public Avalonia.Input.Key Divide
Down Field
The Down arrow key.
public Avalonia.Input.Key Down
E Field
The E key.
public Avalonia.Input.Key E
End Field
The End key.
public Avalonia.Input.Key End
Enter Field
The Enter key.
public Avalonia.Input.Key Enter
EraseEof Field
The ERASE EOF Key.
public Avalonia.Input.Key EraseEof
Escape Field
The Escape key.
public Avalonia.Input.Key Escape
ExSel Field
The EXSEL key.
public Avalonia.Input.Key ExSel
Execute Field
The Execute key.
public Avalonia.Input.Key Execute
F Field
The F key.
public Avalonia.Input.Key F
F1 Field
The F1 key.
public Avalonia.Input.Key F1
F10 Field
The F10 key.
public Avalonia.Input.Key F10
F11 Field
The F11 key.
public Avalonia.Input.Key F11
F12 Field
The F12 key.
public Avalonia.Input.Key F12
F13 Field
The F13 key.
public Avalonia.Input.Key F13
F14 Field
The F14 key.
public Avalonia.Input.Key F14
F15 Field
The F15 key.
public Avalonia.Input.Key F15
F16 Field
The F16 key.
public Avalonia.Input.Key F16
F17 Field
The F17 key.
public Avalonia.Input.Key F17
F18 Field
The F18 key.
public Avalonia.Input.Key F18
F19 Field
The F19 key.
public Avalonia.Input.Key F19
F2 Field
The F2 key.
public Avalonia.Input.Key F2
F20 Field
The F20 key.
public Avalonia.Input.Key F20
F21 Field
The F21 key.
public Avalonia.Input.Key F21
F22 Field
The F22 key.
public Avalonia.Input.Key F22
F23 Field
The F23 key.
public Avalonia.Input.Key F23
F24 Field
The F24 key.
public Avalonia.Input.Key F24
F3 Field
The F3 key.
public Avalonia.Input.Key F3
F4 Field
The F4 key.
public Avalonia.Input.Key F4
F5 Field
The F5 key.
public Avalonia.Input.Key F5
F6 Field
The F6 key.
public Avalonia.Input.Key F6
F7 Field
The F7 key.
public Avalonia.Input.Key F7
F8 Field
The F8 key.
public Avalonia.Input.Key F8
F9 Field
The F9 key.
public Avalonia.Input.Key F9
FinalMode Field
The IME Final mode key.
public Avalonia.Input.Key FinalMode
FnDownArrow Field
OSX Platform-specific Fn+Down key
public Avalonia.Input.Key FnDownArrow
FnLeftArrow Field
OSX Platform-specific Fn+Left key
public Avalonia.Input.Key FnLeftArrow
FnRightArrow Field
OSX Platform-specific Fn+Right key
public Avalonia.Input.Key FnRightArrow
FnUpArrow Field
OSX Platform-specific Fn+Up key
public Avalonia.Input.Key FnUpArrow
G Field
The G key.
public Avalonia.Input.Key G
H Field
The H key.
public Avalonia.Input.Key H
HangulMode Field
The IME Hangul mode key.
public Avalonia.Input.Key HangulMode
HanjaMode Field
The IME Hanja mode key.
public Avalonia.Input.Key HanjaMode
Help Field
The Help key.
public Avalonia.Input.Key Help
Home Field
The Home key.
public Avalonia.Input.Key Home
I Field
The I key.
public Avalonia.Input.Key I
ImeAccept Field
The IME Accept key.
public Avalonia.Input.Key ImeAccept
ImeConvert Field
The IME Convert key.
public Avalonia.Input.Key ImeConvert
ImeModeChange Field
The IME Mode change key.
public Avalonia.Input.Key ImeModeChange
ImeNonConvert Field
The IME NonConvert key.
public Avalonia.Input.Key ImeNonConvert
ImeProcessed Field
A special key masking the real key being processed by an IME.
public Avalonia.Input.Key ImeProcessed
Insert Field
The Insert key.
public Avalonia.Input.Key Insert