Specifies the possible key values on a keyboard.


public sealed enum Key


A FieldThe A key.
AbntC1 FieldThe ABNT_C1 (Brazilian) key.
AbntC2 FieldThe ABNT_C2 (Brazilian) key.
Add FieldThe Add key.
Apps FieldThe Application key (Microsoft Natural Keyboard).
Attn FieldThe ATTN key.
B FieldThe B key.
Back FieldThe Backspace key.
BrowserBack FieldThe Browser Back key.
BrowserFavorites FieldThe Browser Favorites key.
BrowserForward FieldThe Browser Forward key.
BrowserHome FieldThe Browser Home key.
BrowserRefresh FieldThe Browser Refresh key.
BrowserSearch FieldThe Browser Search key.
BrowserStop FieldThe Browser Stop key.
C FieldThe C key.
Cancel FieldThe Cancel key.
CapsLock FieldThe Caps Lock key.
Clear FieldThe Clear key.
CrSel FieldThe CRSEL key.
D FieldThe D key.
D0 FieldThe 0 (zero) key.
D1 FieldThe 1 (one) key.
D2 FieldThe 2 key.
D3 FieldThe 3 key.
D4 FieldThe 4 key.
D5 FieldThe 5 key.
D6 FieldThe 6 key.
D7 FieldThe 7 key.
D8 FieldThe 8 key.
D9 FieldThe 9 key.
DeadCharProcessed FieldThe key is used with another key to create a single combined character.
Decimal FieldThe Decimal key.
Delete FieldThe Delete key.
Divide FieldThe Divide key.
Down FieldThe Down Arrow key.
E FieldThe E key.
End FieldThe End key.
Enter FieldThe Enter key.
EraseEof FieldThe ERASE EOF key.
Escape FieldThe ESC key.
Execute FieldThe Execute key.
ExSel FieldThe EXSEL key.
F FieldThe F key.
F1 FieldThe F1 key.
F10 FieldThe F10 key.
F11 FieldThe F11 key.
F12 FieldThe F12 key.
F13 FieldThe F13 key.
F14 FieldThe F14 key.
F15 FieldThe F15 key.
F16 FieldThe F16 key.
F17 FieldThe F17 key.
F18 FieldThe F18 key.
F19 FieldThe F19 key.
F2 FieldThe F2 key.
F20 FieldThe F20 key.
F21 FieldThe F21 key.
F22 FieldThe F22 key.
F23 FieldThe F23 key.
F24 FieldThe F24 key.
F3 FieldThe F3 key.
F4 FieldThe F4 key.
F5 FieldThe F5 key.
F6 FieldThe F6 key.
F7 FieldThe F7 key.
F8 FieldThe F8 key.
F9 FieldThe F9 key.
FinalMode FieldThe IME Final mode key.
G FieldThe G key.
H FieldThe H key.
HanjaMode FieldThe IME Hanja mode key.
Help FieldThe Help key.
Home FieldThe Home key.
I FieldThe I key.
ImeAccept FieldThe IME Accept key.
ImeConvert FieldThe IME Convert key.
ImeModeChange FieldThe IME Mode change request.
ImeNonConvert FieldThe IME NonConvert key.
ImeProcessed FieldA special key masking the real key being processed by an IME.
Insert FieldThe Insert key.
J FieldThe J key.
JunjaMode FieldThe IME Junja mode key.
K FieldThe K key.
KanaMode FieldThe IME Kana mode key.
L FieldThe L key.
LaunchApplication1 FieldThe Launch Application1 key.
LaunchApplication2 FieldThe Launch Application2 key.
LaunchMail FieldThe Launch Mail key.
Left FieldThe Left Arrow key.
LeftAlt FieldThe left ALT key.
LeftCtrl FieldThe left CTRL key.
LeftShift FieldThe left Shift key.
LineFeed FieldThe Linefeed key.
LWin FieldThe left Windows logo key (Microsoft Natural Keyboard).
M FieldThe M key.
MediaNextTrack FieldThe Media Next Track key.
MediaPlayPause FieldThe Media Play Pause key.
MediaPreviousTrack FieldThe Media Previous Track key.
MediaStop FieldThe Media Stop key.
Multiply FieldThe Multiply key.
N FieldThe N key.
NoName FieldA constant reserved for future use.
None FieldNo key pressed.
NumLock FieldThe Num Lock key.
NumPad0 FieldThe 0 key on the numeric keypad.
NumPad1 FieldThe 1 key on the numeric keypad.
NumPad2 FieldThe 2 key on the numeric keypad.
NumPad3 FieldThe 3 key on the numeric keypad.
NumPad4 FieldThe 4 key on the numeric keypad.
NumPad5 FieldThe 5 key on the numeric keypad.
NumPad6 FieldThe 6 key on the numeric keypad.
NumPad7 FieldThe 7 key on the numeric keypad.
NumPad8 FieldThe 8 key on the numeric keypad.
NumPad9 FieldThe 9 key on the numeric keypad.
O FieldThe O key.
Oem1 FieldThe OEM 1 key.
Oem102 FieldThe OEM 102 key.
Oem2 FieldThe OEM 2 key.
Oem3 FieldThe OEM 3 key.
Oem4 FieldThe OEM 4 key.
Oem5 FieldThe OEM 5 key.
Oem6 FieldThe OEM 6 key.
Oem7 FieldThe OEM 7 key.
Oem8 FieldThe OEM 8 key.
OemAttn FieldThe OEM ATTN key.
OemAuto FieldThe OEM AUTO key.
OemBackTab FieldThe OEM BACKTAB key.
OemClear FieldThe OEM Clear key.
OemComma FieldThe OEM Comma key.
OemCopy FieldThe OEM COPY key.
OemEnlw FieldThe OEM ENLW key.
OemFinish FieldThe OEM FINISH key.
OemMinus FieldThe OEM Minus key.
OemPeriod FieldThe OEM Period key.
OemPlus FieldThe OEM Addition key.
P FieldThe P key.
Pa1 FieldThe PA1 key.
PageDown FieldThe Page Down key.
PageUp FieldThe Page Up key.
Pause FieldThe Pause key.
Play FieldThe PLAY key.
Print FieldThe Print key.
PrintScreen FieldThe Print Screen key.
Q FieldThe Q key.
R FieldThe R key.
Right FieldThe Right Arrow key.
RightAlt FieldThe right ALT key.
RightCtrl FieldThe right CTRL key.
RightShift FieldThe right Shift key.
RWin FieldThe right Windows logo key (Microsoft Natural Keyboard).
S FieldThe S key.
Scroll FieldThe Scroll Lock key.
Select FieldThe Select key.
SelectMedia FieldThe Select Media key.
Separator FieldThe Separator key.
Sleep FieldThe Computer Sleep key.
Space FieldThe Spacebar key.
Subtract FieldThe Subtract key.
System FieldA special key masking the real key being processed as a system key.
T FieldThe T key.
Tab FieldThe Tab key.
U FieldThe U key.
Up FieldThe Up Arrow key.
V FieldThe V key.
VolumeDown FieldThe Volume Down key.
VolumeMute FieldThe Volume Mute key.
VolumeUp FieldThe Volume Up key.
W FieldThe W key.
X FieldThe X key.
Y FieldThe Y key.
Z FieldThe Z key.
Zoom FieldThe ZOOM key.