点击或拖拽改变大小

Keys 枚举

Defines the keys available on a keyboard.

命名空间:  CPF.Input
程序集:  CPF (在 CPF.dll 中) 版本:0.8.8.5
语法
C#
public enum Keys
成员
  成员名称说明
None0 No key pressed.
Cancel1 The Cancel key.
Back2 The Back key.
Tab3 The Tab key.
LineFeed4 The Linefeed key.
Clear5 The Clear key.
Return6 The Return key.
Enter6 The Enter key.
Pause7 The Pause key.
CapsLock8 The Caps Lock key.
Capital8 The Caps Lock key.
HangulMode9 The IME Hangul mode key.
KanaMode9 The IME Kana mode key.
JunjaMode10 The IME Junja mode key.
FinalMode11 The IME Final mode key.
KanjiMode12 The IME Kanji mode key.
HanjaMode12 The IME Hanja mode key.
Escape13 The Escape key.
ImeConvert14 The IME Convert key.
ImeNonConvert15 The IME NonConvert key.
ImeAccept16 The IME Accept key.
ImeModeChange17 The IME Mode change key.
Space18 The space bar.
PageUp19 The Page Up key.
Prior19 The Page Up key.
PageDown20 The Page Down key.
Next20 The Page Down key.
End21 The End key.
Home22 The Home key.
Left23 The Left arrow key.
Up24 The Up arrow key.
Right25 The Right arrow key.
Down26 The Down arrow key.
Select27 The Select key.
Print28 The Print key.
Execute29 The Execute key.
Snapshot30 The Print Screen key.
PrintScreen30 The Print Screen key.
Insert31 The Insert key.
Delete32 The Delete key.
Help33 The Help key.
D034 The 0 key.
D135 The 1 key.
D236 The 2 key.
D337 The 3 key.
D438 The 4 key.
D539 The 5 key.
D640 The 6 key.
D741 The 7 key.
D842 The 8 key.
D943 The 9 key.
A44 The A key.
B45 The B key.
C46 The C key.
D47 The D key.
E48 The E key.
F49 The F key.
G50 The G key.
H51 The H key.
I52 The I key.
J53 The J key.
K54 The K key.
L55 The L key.
M56 The M key.
N57 The N key.
O58 The O key.
P59 The P key.
Q60 The Q key.
R61 The R key.
S62 The S key.
T63 The T key.
U64 The U key.
V65 The V key.
W66 The W key.
X67 The X key.
Y68 The Y key.
Z69 The Z key.
LWin70 The left Windows key.
RWin71 The right Windows key.
Apps72 The Application key.
Sleep73 The Sleep key.
NumPad074 The 0 key on the numeric keypad.
NumPad175 The 1 key on the numeric keypad.
NumPad276 The 2 key on the numeric keypad.
NumPad377 The 3 key on the numeric keypad.
NumPad478 The 4 key on the numeric keypad.
NumPad579 The 5 key on the numeric keypad.
NumPad680 The 6 key on the numeric keypad.
NumPad781 The 7 key on the numeric keypad.
NumPad882 The 8 key on the numeric keypad.
NumPad983 The 9 key on the numeric keypad.
Multiply84 The Multiply key.
Add85 The Add key.
Separator86 The Separator key.
Subtract87 The Subtract key.
Decimal88 The Decimal key.
Divide89 The Divide key.
F190 The F1 key.
F291 The F2 key.
F392 The F3 key.
F493 The F4 key.
F594 The F5 key.
F695 The F6 key.
F796 The F7 key.
F897 The F8 key.
F998 The F9 key.
F1099 The F10 key.
F11100 The F11 key.
F12101 The F12 key.
F13102 The F13 key.
F14103 The F14 key.
F15104 The F15 key.
F16105 The F16 key.
F17106 The F17 key.
F18107 The F18 key.
F19108 The F19 key.
F20109 The F20 key.
F21110 The F21 key.
F22111 The F22 key.
F23112 The F23 key.
F24113 The F24 key.
NumLock114 The Numlock key.
Scroll115 The Scroll key.
LeftShift116 The left Shift key.
RightShift117 The right Shift key.
LeftCtrl118 The left Ctrl key.
RightCtrl119 The right Ctrl key.
LeftAlt120 The left Alt key.
RightAlt121 The right Alt key.
BrowserBack122 The browser Back key.
BrowserForward123 The browser Forward key.
BrowserRefresh124 The browser Refresh key.
BrowserStop125 The browser Stop key.
BrowserSearch126 The browser Search key.
BrowserFavorites127 The browser Favorites key.
BrowserHome128 The browser Home key.
VolumeMute129 The Volume Mute key.
VolumeDown130 The Volume Down key.
VolumeUp131 The Volume Up key.
MediaNextTrack132 The media Next Track key.
MediaPreviousTrack133 The media Previous Track key.
MediaStop134 The media Stop key.
MediaPlayPause135 The media Play/Pause key.
LaunchMail136 The Launch Mail key.
SelectMedia137 The Select Media key.
LaunchApplication1138 The Launch Application 1 key.
LaunchApplication2139 The Launch Application 2 key.
OemSemicolon140 The OEM Semicolon key.
Oem1140 The OEM 1 key.
OemPlus141 The OEM Plus key.
OemComma142 The OEM Comma key.
OemMinus143 The OEM Minus key.
OemPeriod144 The OEM Period key.
OemQuestion145 The OEM Question Mark key.
Oem2145 The OEM 2 key.
OemTilde146 The OEM Tilde key.
Oem3146 The OEM 3 key.
AbntC1147 The ABNT_C1 (Brazilian) key.
AbntC2148 The ABNT_C2 (Brazilian) key.
OemOpenBrackets149 The OEM Open Brackets key.
Oem4149 The OEM 4 key.
OemPipe150 The OEM Pipe key.
Oem5150 The OEM 5 key.
OemCloseBrackets151 The OEM Close Brackets key.
Oem6151 The OEM 6 key.
OemQuotes152 The OEM Quotes key.
Oem7152 The OEM 7 key.
Oem8153 The OEM 8 key.
OemBackslash154 The OEM Backslash key.
Oem102154 The OEM 3 key.
ImeProcessed155 A special key masking the real key being processed by an IME.
System156 A special key masking the real key being processed as a system key.
OemAttn157 The OEM ATTN key.
DbeAlphanumeric157 The DBE_ALPHANUMERIC key.
OemFinish158 The OEM Finish key.
DbeKatakana158 The DBE_KATAKANA key.
DbeHiragana159 The DBE_HIRAGANA key.
OemCopy159 The OEM Copy key.
DbeSbcsChar160 The DBE_SBCSCHAR key.
OemAuto160 The OEM Auto key.
DbeDbcsChar161 The DBE_DBCSCHAR key.
OemEnlw161 The OEM ENLW key.
OemBackTab162 The OEM BackTab key.
DbeRoman162 The DBE_ROMAN key.
DbeNoRoman163 The DBE_NOROMAN key.
Attn163 The ATTN key.
CrSel164 The CRSEL key.
DbeEnterWordRegisterMode164 The DBE_ENTERWORDREGISTERMODE key.
ExSel165 The EXSEL key.
DbeEnterImeConfigureMode165 The DBE_ENTERIMECONFIGMODE key.
EraseEof166 The ERASE EOF Key.
DbeFlushString166 The DBE_FLUSHSTRING key.
Play167 The Play key.
DbeCodeInput167 The DBE_CODEINPUT key.
DbeNoCodeInput168 The DBE_NOCODEINPUT key.
Zoom168 The Zoom key.
NoName169 Reserved for future use.
DbeDetermineString169 The DBE_DETERMINESTRING key.
DbeEnterDialogConversionMode170 The DBE_ENTERDLGCONVERSIONMODE key.
Pa1170 The PA1 key.
OemClear171 The OEM Clear key.
DeadCharProcessed172 The key is used with another key to create a single combined character.
FnLeftArrow10001 OSX Platform-specific Fn+Left key
FnRightArrow10002 OSX Platform-specific Fn+Right key
FnUpArrow10003 OSX Platform-specific Fn+Up key
FnDownArrow10004 OSX Platform-specific Fn+Down key
参见