.NET Framework Class Library

Keys Enumeration

<< Click to Display Table of Contents >>

Navigation:  Gnostice Document Studio .NET > Reference Documentation > API Reference > Gnostice.Core.DOM Namespace >

.NET Framework Class Library

Keys Enumeration

Defines state of keys that have been pressed.

Namespace: Gnostice.Core.DOM

Assembly:  Gnostice.Core (in Gnostice.Core.dll)

Syntax

Visual Basic

<FlagsAttribute> _
Public Enumeration Keys

C#

[FlagsAttribute]
public enum Keys

Visual C++

[FlagsAttribute]
public enum class Keys

Members


Member name

Value

Description


Modifiers

-65536



None

0

The bitmask to extract modifiers from a key value.


LButton

1

No key pressed.


RButton

2

The left mouse button.


Cancel

3

The right mouse button.


MButton

4

The CANCEL key.


XButton1

5

The middle mouse button (three-button mouse).


XButton2

6

The first x mouse button (five-button mouse).


Back

8

The second x mouse button (five-button mouse).


Tab

9

The BACKSPACE key.


LineFeed

10

The TAB key.


Clear

12

The LINEFEED key.


Enter

13

The CLEAR key.


Return

13

The ENTER key.


ShiftKey

16

The ENTER key.


ControlKey

17

The SHIFT key.


Menu

18

The CTRL key.


Pause

19

The ALT key.


CapsLock

20

The PAUSE key.


Capital

20

The CAPS LOCK key.


KanaMode

21

The CAPS LOCK key.


HanguelMode

21

The IME Kana mode key.


HangulMode

21

The IME Hanguel mode key. (maintained for compatibility; use HangulMode )


JunjaMode

23

The IME Hangul mode key.


FinalMode

24

The IME Junja mode key.


KanjiMode

25

The IME final mode key.


HanjaMode

25

The IME Kanji mode key.


Escape

27

The IME Hanja mode key.


IMEConvert

28

The ESC key.


IMENonconvert

29

The IME convert key.


IMEAceept

30

The IME nonconvert key.


IMEAccept

30

The IME accept key.


IMEModeChange

31



Space

32

The IME mode change key.


Prior

33

The SPACEBAR key.


PageUp

33

The PAGE UP key.


Next

34

The PAGE UP key.


PageDown

34

The PAGE DOWN key.


End

35

The PAGE DOWN key.


Home

36

The END key.


Left

37

The HOME key.


Up

38

The LEFT ARROW key.


Right

39

The UP ARROW key.


Down

40

The RIGHT ARROW key.


Select

41

The DOWN ARROW key.


Print

42

The SELECT key.


Execute

43

The PRINT key.


PrintScreen

44

The EXECUTE key.


Snapshot

44

The PRINT SCREEN key.


Insert

45

The PRINT SCREEN key.


Delete

46

The INS key.


Help

47

The DEL key.


D0

48

The HELP key.


D1

49

The 0 key.


D2

50

The 1 key.


D3

51

The 2 key.


D4

52

The 3 key.


D5

53

The 4 key.


D6

54

The 5 key.


D7

55

The 6 key.


D8

56

The 7 key.


D9

57

The 8 key.


A

65

The 9 key.


B

66

The A key.


C

67

The B key.


D

68

The C key.


E

69

The D key.


F

70

The E key.


G

71

The F key.


H

72

The G key.


I

73

The H key.


J

74

The I key.


K

75

The J key.


L

76

The K key.


M

77

The L key.


N

78

The M key.


O

79

The N key.


P

80

The O key.


Q

81

The P key.


R

82

The Q key.


S

83

The R key.


T

84

The S key.


U

85

The T key.


V

86

The U key.


W

87

The V key.


X

88

The W key.


Y

89

The X key.


Z

90

The Y key.


LWin

91

The Z key.


RWin

92

The left Windows logo key (Microsoft Natural Keyboard).


Apps

93

The right Windows logo key.


Sleep

95

The application key (Microsoft Natural Keyboard).


NumPad0

96



NumPad1

97

The 0 key on the numeric keypad.


NumPad2

98

The 1 key on the numeric keypad.


NumPad3

99

The 2 key on the numeric keypad.


NumPad4

100

The 3 key on the numeric keypad.


NumPad5

101

The 4 key on the numeric keypad.


NumPad6

102

The 5 key on the numeric keypad.


NumPad7

103

The 6 key on the numeric keypad.


NumPad8

104

The 7 key on the numeric keypad.


NumPad9

105

The 8 key on the numeric keypad.


Multiply

106

The 9 key on the numeric keypad.


Add

107

The multiply key.


Separator

108

The add key.


Subtract

109

The separator key.


Decimal

110

The subtract key.


Divide

111

The decimal key.


F1

112

The divide key.


F2

113

The F1 key.


F3

114

The F2 key.


F4

115

The F3 key.


F5

116

The F4 key.


F6

117

The F5 key.


F7

118

The F6 key.


F8

119

The F7 key.


F9

120

The F8 key.


F10

121

The F9 key.


F11

122

The F10 key.


F12

123

The F11 key.


F13

124

The F12 key.


F14

125

The F13 key.


F15

126

The F14 key.


F16

127

The F15 key.


F17

128

The F16 key.


F18

129

The F17 key.


F19

130

The F18 key.


F20

131

The F19 key.


F21

132

The F20 key.


F22

133

The F21 key.


F23

134

The F22 key.


F24

135

The F23 key.


NumLock

144

The F24 key.


Scroll

145

The NUM LOCK key.


LShiftKey

160

The SCROLL LOCK key.


RShiftKey

161

The left SHIFT key.


LControlKey

162

The right SHIFT key.


RControlKey

163

The left CTRL key.


LMenu

164

The right CTRL key.


RMenu

165

The left ALT key.


BrowserBack

166

The right ALT key.


BrowserForward

167

The browser back key.


BrowserRefresh

168

The browser forward key.


BrowserStop

169

The browser refresh key.


BrowserSearch

170

The browser stop key.


BrowserFavorites

171

The browser search key.


BrowserHome

172

The browser favorites key.


VolumeMute

173

The browser home key.


VolumeDown

174

The volume mute key.


VolumeUp

175

The volume down key.


MediaNextTrack

176

The volume up key.


MediaPreviousTrack

177

The media next track key.


MediaStop

178

The media previous-track key


MediaPlayPause

179

The media Stop key.


LaunchMail

180

The media play-pause key.


SelectMedia

181

The launch mail key.


LaunchApplication1

182

The select media key.


LaunchApplication2

183

The start application one key.


Oem1

186

The start application two key.


OemSemicolon

186



Oemplus

187



Oemcomma

188

The OEM plus key on any country/region keyboard.


OemMinus

189

The OEM comma key on any country/region keyboard.


OemPeriod

190

The OEM minus key on any country/region keyboard.


OemQuestion

191

The OEM period key on any country/region keyboard.


Oem2

191

The OEM question mark key on a US standard keyboard.


Oemtilde

192



Oem3

192

The OEM tilde key on a US standard keyboard.


Oem4

219



OemOpenBrackets

219



OemPipe

220

The OEM open bracket key on a US standard keyboard.


Oem5

220

The OEM pipe key on a US standard keyboard.


Oem6

221



OemCloseBrackets

221



Oem7

222

The OEM close bracket key on a US standard keyboard.


OemQuotes

222



Oem8

223

The OEM singled/double quote key on a US standard keyboard.


Oem102

226

OEM specific.


OemBackslash

226



ProcessKey

229

The OEM angle bracket or backslash key on the RT 102 key keyboard.


Packet

231

The PROCESS KEY key.


Attn

246



Crsel

247

The ATTN key.


Exsel

248

The CRSEL key.


EraseEof

249

The EXSEL key.


Play

250

The ERASE EOF key.


Zoom

251

The PLAY key.


NoName

252

The ZOOM key.


Pa1

253

A constant reserved for future use.


OemClear

254

The PA1 key.


KeyCode

65535

The CLEAR key.


Shift

65536

The bitmask to extract a key code from a key value.


Control

131072

The SHIFT modifier key.


Alt

262144

The CTRL modifier key.

See Also

Gnostice.Core.DOM Namespace