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