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