Enum KeyCode
- Namespace
- DotNetBrowser.Input.Keyboard.Events
- Assembly
- DotNetBrowser.dll
The virtual key codes.
public enum KeyCode
Fields
Accept = 30IME accept.
Add = 107The add key.
Apps = 93Applications key (Natural keyboard).
Attn = 246The Attn key.
Back = 8The BACKSPACE key (VK_BACK).
BrowserBack = 166The Browser Back key.
BrowserFavorites = 171The Browser Favorites key.
BrowserForward = 167The Browser Forward key.
BrowserHome = 172The Browser Start and Home key.
BrowserRefresh = 168The Browser Refresh key.
BrowserSearch = 170The Browser Search key.
BrowserStop = 169The Browser Stop key.
Cancel = 3Control-break processing (VK_CANCEL).
Capital = 20The CAPS LOCK key (VK_CAPITAL).
Clear = 12The CLEAR key (VK_CLEAR).
Command = 157The Command key.
Control = 17The CTRL key (VK_CONTROL).
Convert = 28IME convert.
Crsel = 247The CrSel key.
DbeAlphanumeric = 240The DBE_ALPHANUMERIC key.
Decimal = 110The decimal key.
Delete = 46The DEL key (VK_DELETE).
Divide = 111The divide key.
Down = 40The DOWN ARROW key.
End = 35The END key.
Ereof = 249The Erase EOF key.
Escape = 27ESC key.
Execute = 43The EXECUTE key
Exsel = 248The ExSel key.
F1 = 112The 'F1' key.
F10 = 121The 'F10' key.
F11 = 122The 'F11' key.
F12 = 123The 'F1' key.
F13 = 124The 'F1' key.
F14 = 125The 'F14' key.
F15 = 126The 'F15' key.
F16 = 127The 'F16' key.
F17 = 128The 'F17' key.
F18 = 129The 'F18' key.
F19 = 130The 'F19' key.
F2 = 113The 'F2' key.
F20 = 131The 'F20' key.
F21 = 132The 'F21' key.
F22 = 133The 'F22' key.
F23 = 134The 'F23' key.
F24 = 135The 'F24' key.
F3 = 114The 'F3' key.
F4 = 115The 'F4' key.
F5 = 116The 'F5' key.
F6 = 117The 'F6' key.
F7 = 118The 'F7' key.
F8 = 119The 'F8' key.
F9 = 120The 'F9' key.
Final = 24IME final mode.
Hanguel = 21IME Hanguel mode (maintained for compatibility; use Hangul).
Hangul = 21IME Hangul mode.
Hanja = 25IME Hanja mode.
Help = 47The HELP key (VK_HELP).
Home = 36The HOME key.
Insert = 45The INS key (VK_INSERT).
Junja = 23IME Junja mode.
Kana = 21IME Kana mode (VK_KANA).
Kanji = 25IME Kanji mode.
LButton = 1The left mouse button (VK_LBUTTON).
LCmd = 91The Command key.
LControl = 162The Left CONTROL key.
LMenu = 164The Left MENU key.
LShift = 160The Left SHIFT key.
LWin = 91Left Windows key (Natural keyboard).
LaunchApp1 = 182The Start Application 1 key.
LaunchApp2 = 183The Start Application 2 key.
LaunchMail = 180The Start Mail key.
LaunchMediaSelect = 181The Select Media key.
Left = 37The LEFT ARROW key.
MButton = 4The middle mouse button (three-button mouse)
MediaNextTrack = 176The Next Track key.
MediaPlayPause = 179The Play/Pause Media key.
MediaPrevTrack = 177The Previous Track key.
MediaStop = 178The Stop Media key.
Menu = 18The ALT key (VK_MENU).
ModeChange = 31IME mode change request.
Multiply = 106The multiply key.
Next = 34The PAGE DOWN key.
NoName = 252Reserved.
NonConvert = 29IME nonconvert.
Numlock = 144The NUM LOCK key.
Numpad0 = 96The numeric keypad '0' key.
Numpad1 = 97The numeric keypad '1' key.
Numpad2 = 98The numeric keypad '2' key.
Numpad3 = 99The numeric keypad '3' key.
Numpad4 = 100The numeric keypad '4' key.
Numpad5 = 101The numeric keypad '5' key.
Numpad6 = 102The numeric keypad '6' key.
Numpad7 = 103The numeric keypad '7' key.
Numpad8 = 104The numeric keypad '8' key.
Numpad9 = 105The numeric keypad '9' key.
Oem1 = 186Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard, the ';:' key.
Oem102 = 226Either the angle bracket key or the backslash key on the RT 102-key keyboard.
Oem2 = 191Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard, the '[{' key.
Oem3 = 192Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard, the '[{' key.
Oem4 = 219Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard, the '[{' key.
Oem5 = 220Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard, the '|' key.
Oem6 = 221Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard, the ']}' key.
Oem7 = 222Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard, the 'single-quote/double-quote' key.
Oem8 = 223Used for miscellaneous characters; it can vary by keyboard.
OemClear = 254The Clear key.
OemComma = 188For any country/region, the ',' key.
OemMinus = 189For any country/region, the '-' key.
OemPeriod = 190For any country/region, the '.' key.
OemPlus = 187For any country/region, the '+' key.
Pa1 = 253The PA1 key.
Packet = 231Used to pass Unicode characters as if they were keystrokes. The VK_PACKET key is the low word of a 32-bit Virtual Key value used for non-keyboard input methods.
Pause = 19The PAUSE key (VK_PAUSE).
Play = 250The Play key.
Print = 42The PRINT key.
Prior = 33The PAGE UP key.
Processkey = 229The IME PROCESS key.
RButton = 2The right mouse button (VK_RBUTTON).
RCmd = 93The Right Command key.
RControl = 163The Right CONTROL key.
RMenu = 165The Right MENU key.
RShift = 161The Right SHIFT key.
RWin = 92Right Windows key (Natural keyboard).
Return = 13The ENTER key (VK_RETURN).
Right = 39The RIGHT ARROW key.
Scroll = 145The SCROLL LOCK key.
Select = 41The SELECT key.
Separator = 108The separator key.
Shift = 16The SHIFT key (VK_SHIFT).
Sleep = 95Computer Sleep key.
Snapshot = 44The PRINT SCREEN / SysRq key (VK_SNAPSHOT).
Space = 32The spacebar (VK_SPACE).
Subtract = 109The subtract key.
Tab = 9The TAB key (VK_TAB).
Unknown = 0Reserved value.
Up = 38The UP ARROW key.
Vk0 = 48The '0' key.
Vk1 = 49The '1' key.
Vk2 = 50The '2' key.
Vk3 = 51The '3' key.
Vk4 = 52The '4' key.
Vk5 = 53The '5' key.
Vk6 = 54The '6' key.
Vk7 = 55The '7' key.
Vk8 = 56The '8' key.
Vk9 = 57The '9' key.
VkA = 65The 'A' key.
VkB = 66The 'B' key.
VkC = 67The 'C' key.
VkD = 68The 'D' key.
VkE = 69The 'E' key.
VkF = 70The 'F' key.
VkG = 71The 'G' key.
VkH = 72The 'H' key.
VkI = 73The 'I' key.
VkJ = 74The 'J' key.
VkK = 75The 'K' key.
VkL = 76The 'L' key.
VkM = 77The 'M' key.
VkN = 78The 'N' key.
VkO = 79The 'O' key.
VkP = 80The 'P' key.
VkQ = 81The 'Q' key.
VkR = 82The 'R' key.
VkS = 83The 'S' key.
VkT = 84The 'T' key.
VkU = 85The 'U' key.
VkV = 86The 'V' key.
VkW = 87The 'W' key.
VkX = 88The 'X' key.
VkY = 89The 'Y' key.
VkZ = 90The 'Z' key.
VolumeDown = 174The Volume Down key.
VolumeMute = 173The Volume Mute key.
VolumeUp = 175The Volume Up key.
XButton1 = 5The X1 mouse button (VK_XBUTTON1).
XButton2 = 6The X2 mouse button(VK_XBUTTON2).
Zoom = 251The Zoom key.