Summary
Defines the keys available on a keyboard.
- Namespace
- Avalonia
.Input - Interfaces
-
- IComparable
- IFormattable
- IConvertible
- Base Types
-
- object
- ValueType
- Enum
graph BT
Type-->Base0["Enum"]
Base0-->Base1["ValueType"]
Base1-->Base2["object"]
Type-.->Interface0["IComparable"]
Type-.->Interface1["IFormattable"]
Type-.->Interface2["IConvertible"]
Type["Key"]
class Type type-node
Syntax
public enum Key
Fields
Name | Constant Value | Summary |
---|---|---|
A | 44 |
The A key.
static
|
AbntC1 | 147 |
The ABNT_C1 (Brazilian) key.
static
|
AbntC2 | 148 |
The ABNT_C2 (Brazilian) key.
static
|
Add | 85 |
The Add key.
static
|
Apps | 72 |
The Application key.
static
|
Attn | 163 |
The ATTN key.
static
|
B | 45 |
The B key.
static
|
Back | 2 |
The Back key.
static
|
BrowserBack | 122 |
The browser Back key.
static
|
BrowserFavorites | 127 |
The browser Favorites key.
static
|
BrowserForward | 123 |
The browser Forward key.
static
|
BrowserHome | 128 |
The browser Home key.
static
|
BrowserRefresh | 124 |
The browser Refresh key.
static
|
BrowserSearch | 126 |
The browser Search key.
static
|
BrowserStop | 125 |
The browser Stop key.
static
|
C | 46 |
The C key.
static
|
Cancel | 1 |
The Cancel key.
static
|
Capital | 8 |
The Caps Lock key.
static
|
CapsLock | 8 |
The Caps Lock key.
static
|
Clear | 5 |
The Clear key.
static
|
CrSel | 164 |
The CRSEL key.
static
|
D | 47 |
The D key.
static
|
D0 | 34 |
The 0 key.
static
|
D1 | 35 |
The 1 key.
static
|
D2 | 36 |
The 2 key.
static
|
D3 | 37 |
The 3 key.
static
|
D4 | 38 |
The 4 key.
static
|
D5 | 39 |
The 5 key.
static
|
D6 | 40 |
The 6 key.
static
|
D7 | 41 |
The 7 key.
static
|
D8 | 42 |
The 8 key.
static
|
D9 | 43 |
The 9 key.
static
|
DbeAlphanumeric | 157 |
The DBE_ALPHANUMERIC key.
static
|
DbeCodeInput | 167 |
The DBE_CODEINPUT key.
static
|
DbeDbcsChar | 161 |
The DBE_DBCSCHAR key.
static
|
DbeDetermineString | 169 |
The DBE_DETERMINESTRING key.
static
|
Dbe |
170 |
The DBE_ENTERDLGCONVERSIONMODE key.
static
|
Dbe |
165 |
The DBE_ENTERIMECONFIGMODE key.
static
|
Dbe |
164 |
The DBE_ENTERWORDREGISTERMODE key.
static
|
DbeFlushString | 166 |
The DBE_FLUSHSTRING key.
static
|
DbeHiragana | 159 |
The DBE_HIRAGANA key.
static
|
DbeKatakana | 158 |
The DBE_KATAKANA key.
static
|
DbeNoCodeInput | 168 |
The DBE_NOCODEINPUT key.
static
|
DbeNoRoman | 163 |
The DBE_NOROMAN key.
static
|
DbeRoman | 162 |
The DBE_ROMAN key.
static
|
DbeSbcsChar | 160 |
The DBE_SBCSCHAR key.
static
|
DeadCharProcessed | 172 |
The key is used with another key to create a single combined character.
static
|
Decimal | 88 |
The Decimal key.
static
|
Delete | 32 |
The Delete key.
static
|
Divide | 89 |
The Divide key.
static
|
Down | 26 |
The Down arrow key.
static
|
E | 48 |
The E key.
static
|
End | 21 |
The End key.
static
|
Enter | 6 |
The Enter key.
static
|
EraseEof | 166 |
The ERASE EOF Key.
static
|
Escape | 13 |
The Escape key.
static
|
Execute | 29 |
The Execute key.
static
|
ExSel | 165 |
The EXSEL key.
static
|
F | 49 |
The F key.
static
|
F1 | 90 |
The F1 key.
static
|
F10 | 99 |
The F10 key.
static
|
F11 | 100 |
The F11 key.
static
|
F12 | 101 |
The F12 key.
static
|
F13 | 102 |
The F13 key.
static
|
F14 | 103 |
The F14 key.
static
|
F15 | 104 |
The F15 key.
static
|
F16 | 105 |
The F16 key.
static
|
F17 | 106 |
The F17 key.
static
|
F18 | 107 |
The F18 key.
static
|
F19 | 108 |
The F19 key.
static
|
F2 | 91 |
The F2 key.
static
|
F20 | 109 |
The F20 key.
static
|
F21 | 110 |
The F21 key.
static
|
F22 | 111 |
The F22 key.
static
|
F23 | 112 |
The F23 key.
static
|
F24 | 113 |
The F24 key.
static
|
F3 | 92 |
The F3 key.
static
|
F4 | 93 |
The F4 key.
static
|
F5 | 94 |
The F5 key.
static
|
F6 | 95 |
The F6 key.
static
|
F7 | 96 |
The F7 key.
static
|
F8 | 97 |
The F8 key.
static
|
F9 | 98 |
The F9 key.
static
|
FinalMode | 11 |
The IME Final mode key.
static
|
FnDownArrow | 10004 |
OSX Platform-specific Fn+Down key
static
|
FnLeftArrow | 10001 |
OSX Platform-specific Fn+Left key
static
|
FnRightArrow | 10002 |
OSX Platform-specific Fn+Right key
static
|
FnUpArrow | 10003 |
OSX Platform-specific Fn+Up key
static
|
G | 50 |
The G key.
static
|
H | 51 |
The H key.
static
|
HangulMode | 9 |
The IME Hangul mode key.
static
|
HanjaMode | 12 |
The IME Hanja mode key.
static
|
Help | 33 |
The Help key.
static
|
Home | 22 |
The Home key.
static
|
I | 52 |
The I key.
static
|
ImeAccept | 16 |
The IME Accept key.
static
|
ImeConvert | 14 |
The IME Convert key.
static
|
ImeModeChange | 17 |
The IME Mode change key.
static
|
ImeNonConvert | 15 |
The IME NonConvert key.
static
|
ImeProcessed | 155 |
A special key masking the real key being processed by an IME.
static
|
Insert | 31 |
The Insert key.
static
|
J | 53 |
The J key.
static
|
JunjaMode | 10 |
The IME Junja mode key.
static
|
K | 54 |
The K key.
static
|
KanaMode | 9 |
The IME Kana mode key.
static
|
KanjiMode | 12 |
The IME Kanji mode key.
static
|
L | 55 |
The L key.
static
|
LaunchApplication1 | 138 |
The Launch Application 1 key.
static
|
LaunchApplication2 | 139 |
The Launch Application 2 key.
static
|
LaunchMail | 136 |
The Launch Mail key.
static
|
Left | 23 |
The Left arrow key.
static
|
LeftAlt | 120 |
The left Alt key.
static
|
LeftCtrl | 118 |
The left Ctrl key.
static
|
LeftShift | 116 |
The left Shift key.
static
|
LineFeed | 4 |
The Linefeed key.
static
|
LWin | 70 |
The left Windows key.
static
|
M | 56 |
The M key.
static
|
MediaNextTrack | 132 |
The media Next Track key.
static
|
MediaPlayPause | 135 |
The media Play/Pause key.
static
|
MediaPreviousTrack | 133 |
The media Previous Track key.
static
|
MediaStop | 134 |
The media Stop key.
static
|
Multiply | 84 |
The Multiply key.
static
|
N | 57 |
The N key.
static
|
Next | 20 |
The Page Down key.
static
|
NoName | 169 |
Reserved for future use.
static
|
None | 0 |
No key pressed.
static
|
NumLock | 114 |
The Numlock key.
static
|
NumPad0 | 74 |
The 0 key on the numeric keypad.
static
|
NumPad1 | 75 |
The 1 key on the numeric keypad.
static
|
NumPad2 | 76 |
The 2 key on the numeric keypad.
static
|
NumPad3 | 77 |
The 3 key on the numeric keypad.
static
|
NumPad4 | 78 |
The 4 key on the numeric keypad.
static
|
NumPad5 | 79 |
The 5 key on the numeric keypad.
static
|
NumPad6 | 80 |
The 6 key on the numeric keypad.
static
|
NumPad7 | 81 |
The 7 key on the numeric keypad.
static
|
NumPad8 | 82 |
The 8 key on the numeric keypad.
static
|
NumPad9 | 83 |
The 9 key on the numeric keypad.
static
|
O | 58 |
The O key.
static
|
Oem1 | 140 |
The OEM 1 key.
static
|
Oem102 | 154 |
The OEM 3 key.
static
|
Oem2 | 145 |
The OEM 2 key.
static
|
Oem3 | 146 |
The OEM 3 key.
static
|
Oem4 | 149 |
The OEM 4 key.
static
|
Oem5 | 150 |
The OEM 5 key.
static
|
Oem6 | 151 |
The OEM 6 key.
static
|
Oem7 | 152 |
The OEM 7 key.
static
|
Oem8 | 153 |
The OEM 8 key.
static
|
OemAttn | 157 |
The OEM ATTN key.
static
|
OemAuto | 160 |
The OEM Auto key.
static
|
OemBackslash | 154 |
The OEM Backslash key.
static
|
OemBackTab | 162 |
The OEM BackTab key.
static
|
OemClear | 171 |
The OEM Clear key.
static
|
OemCloseBrackets | 151 |
The OEM Close Brackets key.
static
|
OemComma | 142 |
The OEM Comma key.
static
|
OemCopy | 159 |
The OEM Copy key.
static
|
OemEnlw | 161 |
The OEM ENLW key.
static
|
OemFinish | 158 |
The OEM Finish key.
static
|
OemMinus | 143 |
The OEM Minus key.
static
|
OemOpenBrackets | 149 |
The OEM Open Brackets key.
static
|
OemPeriod | 144 |
The OEM Period key.
static
|
OemPipe | 150 |
The OEM Pipe key.
static
|
OemPlus | 141 |
The OEM Plus key.
static
|
OemQuestion | 145 |
The OEM Question Mark key.
static
|
OemQuotes | 152 |
The OEM Quotes key.
static
|
OemSemicolon | 140 |
The OEM Semicolon key.
static
|
OemTilde | 146 |
The OEM Tilde key.
static
|
P | 59 |
The P key.
static
|
Pa1 | 170 |
The PA1 key.
static
|
PageDown | 20 |
The Page Down key.
static
|
PageUp | 19 |
The Page Up key.
static
|
Pause | 7 |
The Pause key.
static
|
Play | 167 |
The Play key.
static
|
28 |
The Print key.
static
|
|
PrintScreen | 30 |
The Print Screen key.
static
|
Prior | 19 |
The Page Up key.
static
|
Q | 60 |
The Q key.
static
|
R | 61 |
The R key.
static
|
Return | 6 |
The Return key.
static
|
Right | 25 |
The Right arrow key.
static
|
RightAlt | 121 |
The right Alt key.
static
|
RightCtrl | 119 |
The right Ctrl key.
static
|
RightShift | 117 |
The right Shift key.
static
|
RWin | 71 |
The right Windows key.
static
|
S | 62 |
The S key.
static
|
Scroll | 115 |
The Scroll key.
static
|
Select | 27 |
The Select key.
static
|
SelectMedia | 137 |
The Select Media key.
static
|
Separator | 86 |
The Separator key.
static
|
Sleep | 73 |
The Sleep key.
static
|
Snapshot | 30 |
The Print Screen key.
static
|
Space | 18 |
The space bar.
static
|
Subtract | 87 |
The Subtract key.
static
|
System | 156 |
A special key masking the real key being processed as a system key.
static
|
T | 63 |
The T key.
static
|
Tab | 3 |
The Tab key.
static
|
U | 64 |
The U key.
static
|
Up | 24 |
The Up arrow key.
static
|
V | 65 |
The V key.
static
|
VolumeDown | 130 |
The Volume Down key.
static
|
VolumeMute | 129 |
The Volume Mute key.
static
|
VolumeUp | 131 |
The Volume Up key.
static
|
W | 66 |
The W key.
static
|
X | 67 |
The X key.
static
|
Y | 68 |
The Y key.
static
|
Z | 69 |
The Z key.
static
|
Zoom | 168 |
The Zoom key.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
HasAllFlags |
bool |
From EnumExtensions
|
HasAnyFlag |
bool |
From EnumExtensions
|
HasFlagCustom |
bool |
From EnumExtensions
|
To |
NavigationDirection? |
Converts a keypress into a
NavigationDirection .
|