Enum Keys
Enumeration for keys.
public enum Keys
Fields
A = 44
The 'a' key.
Add = 85
The numeric keypad 'add' key.
Apps = 72
The 'apps'/'Menu'/'FN2' key, between the windows and right ctrl key on a 104 keys keyboard.
Attn = 163
The 'attn' key.
B = 45
The 'b' key.
Back = 2
The 'back'/'backspace' key.
BackSpace = 2
The 'back'/'backspace' key.
BrowserBack = 122
The 'browserback' key.
BrowserFavorites = 127
The 'browserfavorites' key.
BrowserForward = 123
The 'browserforward' key.
BrowserHome = 128
The 'browserhome' key.
BrowserRefresh = 124
The 'browserrefresh' key.
BrowserSearch = 126
The 'browsersearch' key.
BrowserStop = 125
The 'browserstop' key.
C = 46
The 'c' key.
Cancel = 1
The 'cancel' key.
Capital = 8
The 'capslock'/'capital' key.
CapsLock = 8
The 'capslock'/'capital' key.
Clear = 5
The 'clear' key.
CrSel = 164
The 'crsel' key.
D = 47
The 'd' key.
D0 = 34
The number row '0' key.
D1 = 35
The number row '1' key.
D2 = 36
The number row '2' key.
D3 = 37
The number row '3' key.
D4 = 38
The number row '4' key.
D5 = 39
The number row '5' key.
D6 = 40
The number row '6' key.
D7 = 41
The number row '7' key.
D8 = 42
The number row '8' key.
D9 = 43
The number row '9' key.
Decimal = 88
The numeric keypad 'decimal' and 'decimal separator' key.
Delete = 32
The 'delete' key.
Divide = 89
The numeric keypad 'divide' key.
Down = 26
The 'down' key.
E = 48
The 'e' key.
End = 21
The 'end' key.
Enter = 6
The 'enter'/'return' key.
EraseEof = 166
The 'eraseeof' key.
Escape = 13
The 'escape' key.
ExSel = 165
The 'exsel' key.
Execute = 29
The 'execute' key.
F = 49
The 'f' key.
F1 = 90
The function key 'f1'.
F10 = 99
The function key 'f10'.
F11 = 100
The function key 'f11'.
F12 = 101
The function key 'f12'.
F13 = 102
The function key 'f13'.
F14 = 103
The function key 'f14'.
F15 = 104
The function key 'f15'.
F16 = 105
The function key 'f16'.
F17 = 106
The function key 'f17'.
F18 = 107
The function key 'f18'.
F19 = 108
The function key 'f19'.
F2 = 91
The function key 'f2'.
F20 = 109
The function key 'f20'.
F21 = 110
The function key 'f21'.
F22 = 111
The function key 'f22'.
F23 = 112
The function key 'f23'.
F24 = 113
The function key 'f24'.
F3 = 92
The function key 'f3'.
F4 = 93
The function key 'f4'.
F5 = 94
The function key 'f5'.
F6 = 95
The function key 'f6'.
F7 = 96
The function key 'f7'.
F8 = 97
The function key 'f8'.
F9 = 98
The function key 'f9'.
FinalMode = 11
The 'finalmode' key.
G = 50
The 'g' key.
H = 51
The 'h' key.
HangulMode = 9
The 'hangulmode' key.
HanjaMode = 12
The 'hanjamode' key.
Help = 33
The 'help' key.
Home = 22
The 'home' key.
I = 52
The 'i' key.
ImeAccept = 16
The 'imeaccept' key.
ImeConvert = 14
The 'imeconvert' key.
ImeModeChange = 17
The 'imemodechange' key.
ImeNonConvert = 15
The 'imenonconvert' key.
Insert = 31
The 'insert' key.
J = 53
The 'j' key.
JunjaMode = 10
The 'junjamode' key.
K = 54
The 'k' key.
KanaMode = 9
The 'kanamode' key.
KanjiMode = 12
The 'kanjimode' key.
L = 55
The 'l' key.
LaunchApplication1 = 138
The 'launchapplication1' key.
LaunchApplication2 = 139
The 'launchapplication2' key.
LaunchMail = 136
The 'launchmail' key.
Left = 23
The 'left' key.
LeftAlt = 120
The left 'alt' key.
LeftCtrl = 118
The left 'ctrl' key.
LeftShift = 116
The left 'shift' key.
LeftWin = 70
The left 'windows'/'command'/'meta' key.
LineFeed = 4
The 'linefeed' key.
M = 56
The 'm' key.
MediaNextTrack = 132
The 'medianexttrack' key.
MediaPlayPause = 135
The 'mediaplaypause' key.
MediaPreviousTrack = 133
The 'mediaprevioustrack' key.
MediaStop = 134
The 'mediastop' key.
Multiply = 84
The numeric keypad 'multiply' key.
N = 57
The 'n' key.
Next = 20
The 'pagedown'/'next' key.
NoName = 169
A windows-reserved key.
None = 0
Invalid key.
NumLock = 114
The 'numlock' key.
NumPad0 = 74
The numeric keypad '0' key.
NumPad1 = 75
The numeric keypad '1' key.
NumPad2 = 76
The numeric keypad '2' key.
NumPad3 = 77
The numeric keypad '3' key.
NumPad4 = 78
The numeric keypad '4' key.
NumPad5 = 79
The numeric keypad '5' key.
NumPad6 = 80
The numeric keypad '6' key.
NumPad7 = 81
The numeric keypad '7' key.
NumPad8 = 82
The numeric keypad '8' key.
NumPad9 = 83
The numeric keypad '9' key.
[Obsolete("Use Decimal instead")] NumPadDecimal = 181
The numeric keypad 'decimal' key.
NumPadEnter = 180
The numeric keypad 'enter' key in SDL and RawInput, Winforms forwards it to Return instead.
O = 58
The 'o' key.
Oem1 = 140
The 'oem1'/'semicolon' key, to the right of the 'L' key on a standard US layout.
Oem102 = 154
The 'OemBackSlash'/'oem102' key, on US ISO keyboards this key sits between left shift and 'Z'.
Oem2 = 145
The 'oemquestion'/'oem2' key, next to 'right shift' on a standard US layout.
Oem3 = 146
The 'oemtilde'/'oem3' key, above 'tab' on a standard US layout.
Oem4 = 149
The 'OemOpenBrackets'/'oem4' key, to the right of 'P' on a standard US layout.
Oem5 = 150
The 'OemPipe'/'oem5' key, either at the lower left of the 'return' key for ISO or between 'return' and 'backspace' for ANSI on a standard US layout.
Oem6 = 151
The 'OemCloseBrackets'/'oem6' key, second key to the right of 'P' on a standard US layout.
Oem7 = 152
The 'OemQuotes'/'oem7' key, second key to the right of 'L' on a standard US layout.
Oem8 = 153
The 'oem8' key, on a UK layout the left most key on the number row, same position as OemTilde on US layout.
OemBackslash = 154
The 'OemBackSlash'/'oem102' key, on US ISO keyboards this key sits between left shift and 'Z'.
OemClear = 171
The 'oemclear' key.
OemCloseBrackets = 151
The 'OemCloseBrackets'/'oem6' key, second key to the right of 'P' on a standard US layout.
OemComma = 142
The 'oemcomma' key, to the right of the 'M' key on a standard US layout.
OemMinus = 143
The 'oemminus' key, to the right of the number row '0' key on a standard US layout.
OemOpenBrackets = 149
The 'OemOpenBrackets'/'oem4' key, to the right of 'P' on a standard US layout.
OemPeriod = 144
The 'oemperiod' key, right between 'M' and the right shift key on a standard US layout.
OemPipe = 150
The 'OemPipe'/'oem5' key, either at the lower left of the 'return' key for ISO or between 'return' and 'backspace' for ANSI on a standard US layout.
OemPlus = 141
The 'oemplus'/'Equals' key, to the left of the backspace key on a standard US layout.
OemQuestion = 145
The 'oemquestion'/'oem2' key, next to 'right shift' on a standard US layout.
OemQuotes = 152
The 'OemQuotes'/'oem7' key, second key to the right of 'L' on a standard US layout.
OemSemicolon = 140
The 'oem1'/'semicolon' key, to the right of the 'L' key on a standard US layout.
OemTilde = 146
The 'oemtilde'/'oem3' key, above 'tab' on a standard US layout.
P = 59
The 'p' key.
Pa1 = 170
The 'PA1' or 'Program Action'/'Program Attention' 1 key on a 3270 IBM keyboard.
PageDown = 20
The 'pagedown'/'next' key.
PageUp = 19
The 'pageup'/'prior' key.
Pause = 7
The 'pause' key.
Play = 167
The 'play' key.
Print = 28
The 'print' key, not to be confused with PrintScreen.
PrintScreen = 30
The 'snapshot'/'printscreen' key.
Prior = 19
The 'pageup'/'prior' key.
Q = 60
The 'q' key.
R = 61
The 'r' key.
Return = 6
The 'enter'/'return' key.
Right = 25
The 'right' key.
RightAlt = 121
The right 'alt' key.
RightCtrl = 119
The right 'ctrl' key.
RightShift = 117
The right 'shift' key.
RightWin = 71
The right 'windows'/'command'/'meta' key.
S = 62
The 's' key.
Scroll = 115
The 'scroll'/'scroll lock' key.
Select = 27
The 'select' key.
SelectMedia = 137
The 'selectmedia' key.
Separator = 86
The 'separator' key.
Sleep = 73
The 'sleep' key.
Snapshot = 30
The 'snapshot'/'printscreen' key
Space = 18
The 'space' key.
Subtract = 87
The numeric keypad 'subtract' key.
T = 63
The 't' key.
Tab = 3
The 'tab' key.
U = 64
The 'u' key.
Up = 24
The 'up' key.
V = 65
The 'v' key.
VolumeDown = 130
The 'volumedown' key.
VolumeMute = 129
The 'volumemute' key.
VolumeUp = 131
The 'volumeup' key.
W = 66
The 'w' key.
X = 67
The 'x' key.
Y = 68
The 'y' key.
Z = 69
The 'z' key.
Zoom = 168
The 'zoom' key.