Chủ Nhật, 9 tháng 5, 2010

// // Leave a Comment

Keys Enumeration

This class contains constants to use for processing keyboard input. Keys are identified by key values, which consist of a key code and a set of modifiers combined into a single integer value. The four left digits of a key value contain the key code (which is the same as a Windows virtual key code). The four right digits of a key value contain modifier bits for the SHIFT, CONTROL, and ALT keys.

Members

Member nameDescriptionValue
ASupported by the .NET Compact Framework.The A key.65
AddSupported by the .NET Compact Framework.The add key.107
AltSupported by the .NET Compact Framework.The ALT modifier key.262144
AppsSupported by the .NET Compact Framework.The application key (Microsoft Natural Keyboard).93
AttnSupported by the .NET Compact Framework.The ATTN key.246
BSupported by the .NET Compact Framework.The B key.66
BackSupported by the .NET Compact Framework.The BACKSPACE key.8
BrowserBackThe browser back key (Windows 2000 or later).166
BrowserFavoritesThe browser favorites key (Windows 2000 or later).171
BrowserForwardThe browser forward key (Windows 2000 or later).167
BrowserHomeThe browser home key (Windows 2000 or later).172
BrowserRefreshThe browser refresh key (Windows 2000 or later).168
BrowserSearchThe browser search key (Windows 2000 or later).170
BrowserStopThe browser stop key (Windows 2000 or later).169
CSupported by the .NET Compact Framework.The C key.67
CancelSupported by the .NET Compact Framework.The CANCEL key.3
CapitalSupported by the .NET Compact Framework.The CAPS LOCK key.20
CapsLockSupported by the .NET Compact Framework.The CAPS LOCK key.20
ClearSupported by the .NET Compact Framework.The CLEAR key.12
ControlSupported by the .NET Compact Framework.The CTRL modifier key.131072
ControlKeySupported by the .NET Compact Framework.The CTRL key.17
CrselSupported by the .NET Compact Framework.The CRSEL key.247
DSupported by the .NET Compact Framework.The D key.68
D0Supported by the .NET Compact Framework.The 0 key.48
D1Supported by the .NET Compact Framework.The 1 key.49
D2Supported by the .NET Compact Framework.The 2 key.50
D3Supported by the .NET Compact Framework.The 3 key.51
D4Supported by the .NET Compact Framework.The 4 key.52
D5Supported by the .NET Compact Framework.The 5 key.53
D6Supported by the .NET Compact Framework.The 6 key.54
D7Supported by the .NET Compact Framework.The 7 key.55
D8Supported by the .NET Compact Framework.The 8 key.56
D9Supported by the .NET Compact Framework.The 9 key.57
DecimalSupported by the .NET Compact Framework.The decimal key.110
DeleteSupported by the .NET Compact Framework.The DEL key.46
DivideSupported by the .NET Compact Framework.The divide key.111
DownSupported by the .NET Compact Framework.The DOWN ARROW key.40
ESupported by the .NET Compact Framework.The E key.69
EndSupported by the .NET Compact Framework.The END key.35
EnterSupported by the .NET Compact Framework.The ENTER key.13
EraseEofSupported by the .NET Compact Framework.The ERASE EOF key.249
EscapeSupported by the .NET Compact Framework.The ESC key.27
ExecuteSupported by the .NET Compact Framework.The EXECUTE key.43
ExselSupported by the .NET Compact Framework.The EXSEL key.248
FSupported by the .NET Compact Framework.The F key.70
F1Supported by the .NET Compact Framework.The F1 key.112
F10Supported by the .NET Compact Framework.The F10 key.121
F11Supported by the .NET Compact Framework.The F11 key.122
F12Supported by the .NET Compact Framework.The F12 key.123
F13Supported by the .NET Compact Framework.The F13 key.124
F14Supported by the .NET Compact Framework.The F14 key.125
F15Supported by the .NET Compact Framework.The F15 key.126
F16Supported by the .NET Compact Framework.The F16 key.127
F17Supported by the .NET Compact Framework.The F17 key.128
F18Supported by the .NET Compact Framework.The F18 key.129
F19Supported by the .NET Compact Framework.The F19 key.130
F2Supported by the .NET Compact Framework.The F2 key.113
F20Supported by the .NET Compact Framework.The F20 key.131
F21Supported by the .NET Compact Framework.The F21 key.132
F22Supported by the .NET Compact Framework.The F22 key.133
F23Supported by the .NET Compact Framework.The F23 key.134
F24Supported by the .NET Compact Framework.The F24 key.135
F3Supported by the .NET Compact Framework.The F3 key.114
F4Supported by the .NET Compact Framework.The F4 key.115
F5Supported by the .NET Compact Framework.The F5 key.116
F6Supported by the .NET Compact Framework.The F6 key.117
F7Supported by the .NET Compact Framework.The F7 key.118
F8Supported by the .NET Compact Framework.The F8 key.119
F9Supported by the .NET Compact Framework.The F9 key.120
FinalModeThe IME final mode key.24
GSupported by the .NET Compact Framework.The G key.71
HSupported by the .NET Compact Framework.The H key.72
HanguelModeThe IME Hanguel mode key. (maintained for compatibility; use HangulMode)21
HangulModeThe IME Hangul mode key.21
HanjaModeThe IME Hanja mode key.25
HelpSupported by the .NET Compact Framework.The HELP key.47
HomeSupported by the .NET Compact Framework.The HOME key.36
ISupported by the .NET Compact Framework.The I key.73
IMEAceeptThe IME accept key.30
IMEConvertThe IME convert key.28
IMEModeChangeThe IME mode change key.31
IMENonconvertThe IME nonconvert key.29
InsertSupported by the .NET Compact Framework.The INS key.45
JSupported by the .NET Compact Framework.The J key.74
JunjaModeThe IME Junja mode key.23
KSupported by the .NET Compact Framework.The K key.75
KanaModeThe IME Kana mode key.21
KanjiModeThe IME Kanji mode key.25
KeyCodeSupported by the .NET Compact Framework.The bitmask to extract a key code from a key value.65535
LSupported by the .NET Compact Framework.The L key.76
LaunchApplication1The start application one key (Windows 2000 or later).182
LaunchApplication2The start application two key (Windows 2000 or later).183
LaunchMailThe launch mail key (Windows 2000 or later).180
LButtonSupported by the .NET Compact Framework.The left mouse button.1
LControlKeySupported by the .NET Compact Framework.The left CTRL key.162
LeftSupported by the .NET Compact Framework.The LEFT ARROW key.37
LineFeedSupported by the .NET Compact Framework.The LINEFEED key.10
LMenuSupported by the .NET Compact Framework.The left ALT key.164
LShiftKeySupported by the .NET Compact Framework.The left SHIFT key.160
LWinSupported by the .NET Compact Framework.The left Windows logo key (Microsoft Natural Keyboard).91
MSupported by the .NET Compact Framework.The M key.77
MButtonSupported by the .NET Compact Framework.The middle mouse button (three-button mouse).4
MediaNextTrackThe media next track key (Windows 2000 or later).176
MediaPlayPauseThe media play pause key (Windows 2000 or later).179
MediaPreviousTrackThe media previous track key (Windows 2000 or later).177
MediaStopThe media Stop key (Windows 2000 or later).178
MenuSupported by the .NET Compact Framework.The ALT key.18
ModifiersSupported by the .NET Compact Framework.The bitmask to extract modifiers from a key value.-65536
MultiplySupported by the .NET Compact Framework.The multiply key.106
NSupported by the .NET Compact Framework.The N key.78
NextSupported by the .NET Compact Framework.The PAGE DOWN key.34
NoNameSupported by the .NET Compact Framework.A constant reserved for future use.252
NoneSupported by the .NET Compact Framework.No key pressed.0
NumLockSupported by the .NET Compact Framework.The NUM LOCK key.144
NumPad0Supported by the .NET Compact Framework.The 0 key on the numeric keypad.96
NumPad1Supported by the .NET Compact Framework.The 1 key on the numeric keypad.97
NumPad2Supported by the .NET Compact Framework.The 2 key on the numeric keypad.98
NumPad3Supported by the .NET Compact Framework.The 3 key on the numeric keypad.99
NumPad4Supported by the .NET Compact Framework.The 4 key on the numeric keypad.100
NumPad5Supported by the .NET Compact Framework.The 5 key on the numeric keypad.101
NumPad6Supported by the .NET Compact Framework.The 6 key on the numeric keypad.102
NumPad7Supported by the .NET Compact Framework.The 7 key on the numeric keypad.103
NumPad8Supported by the .NET Compact Framework.The 8 key on the numeric keypad.104
NumPad9Supported by the .NET Compact Framework.The 9 key on the numeric keypad.105
OSupported by the .NET Compact Framework.The O key.79
Oem8OEM specific.223
OemBackslashThe OEM angle bracket or backslash key on the RT 102 key keyboard (Windows 2000 or later).226
OemClearSupported by the .NET Compact Framework.The CLEAR key.254
OemCloseBracketsThe OEM close bracket key on a US standard keyboard (Windows 2000 or later).221
OemcommaThe OEM comma key on any country/region keyboard (Windows 2000 or later).188
OemMinusThe OEM minus key on any country/region keyboard (Windows 2000 or later).189
OemOpenBracketsThe OEM open bracket key on a US standard keyboard (Windows 2000 or later).219
OemPeriodThe OEM period key on any country/region keyboard (Windows 2000 or later).190
OemPipeThe OEM pipe key on a US standard keyboard (Windows 2000 or later).220
OemplusThe OEM plus key on any country/region keyboard (Windows 2000 or later).187
OemQuestionThe OEM question mark key on a US standard keyboard (Windows 2000 or later).191
OemQuotesThe OEM singled/double quote key on a US standard keyboard (Windows 2000 or later).222
OemSemicolonThe OEM semicolon key on a US standard keyboard (Windows 2000 or later).186
OemtildeThe OEM tilde key on a US standard keyboard (Windows 2000 or later).192
PSupported by the .NET Compact Framework.The P key.80
Pa1Supported by the .NET Compact Framework.The PA1 key.253
PageDownSupported by the .NET Compact Framework.The PAGE DOWN key.34
PageUpSupported by the .NET Compact Framework.The PAGE UP key.33
PauseSupported by the .NET Compact Framework.The PAUSE key.19
PlaySupported by the .NET Compact Framework.The PLAY key.250
PrintSupported by the .NET Compact Framework.The PRINT key.42
PrintScreenSupported by the .NET Compact Framework.The PRINT SCREEN key.44
PriorSupported by the .NET Compact Framework.The PAGE UP key.33
ProcessKeySupported by the .NET Compact Framework.The PROCESS KEY key.229
QSupported by the .NET Compact Framework.The Q key.81
RSupported by the .NET Compact Framework.The R key.82
RButtonSupported by the .NET Compact Framework.The right mouse button.2
RControlKeySupported by the .NET Compact Framework.The right CTRL key.163
ReturnSupported by the .NET Compact Framework.The RETURN key.13
RightSupported by the .NET Compact Framework.The RIGHT ARROW key.39
RMenuSupported by the .NET Compact Framework.The right ALT key.165
RShiftKeySupported by the .NET Compact Framework.The right SHIFT key.161
RWinSupported by the .NET Compact Framework.The right Windows logo key (Microsoft Natural Keyboard).92
SSupported by the .NET Compact Framework.The S key.83
ScrollSupported by the .NET Compact Framework.The SCROLL LOCK key.145
SelectSupported by the .NET Compact Framework.The SELECT key.41
SelectMediaThe select media key (Windows 2000 or later).181
SeparatorSupported by the .NET Compact Framework.The separator key.108
ShiftSupported by the .NET Compact Framework.The SHIFT modifier key.65536
ShiftKeySupported by the .NET Compact Framework.The SHIFT key.16
SnapshotSupported by the .NET Compact Framework.The PRINT SCREEN key.44
SpaceSupported by the .NET Compact Framework.The SPACEBAR key.32
SubtractSupported by the .NET Compact Framework.The subtract key.109
TSupported by the .NET Compact Framework.The T key.84
TabSupported by the .NET Compact Framework.The TAB key.9
USupported by the .NET Compact Framework.The U key.85
UpSupported by the .NET Compact Framework.The UP ARROW key.38
VSupported by the .NET Compact Framework.The V key.86
VolumeDownThe volume down key (Windows 2000 or later).174
VolumeMuteThe volume mute key (Windows 2000 or later).173
VolumeUpThe volume up key (Windows 2000 or later).175
WSupported by the .NET Compact Framework.The W key.87
XSupported by the .NET Compact Framework.The X key.88
XButton1Supported by the .NET Compact Framework.The first x mouse button (five-button mouse).5
XButton2Supported by the .NET Compact Framework.The second x mouse button (five-button mouse).6
YSupported by the .NET Compact Framework.The Y key.89
ZSupported by the .NET Compact Framework.The Z key.90
ZoomSupported by the .NET Compact Framework.The ZOOM key.251

0 comments: