Search
Key Enumeration
See Also
 





A copy of the System.Windows.Forms.Key enumeration used to propagate input information to manipulators and components.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public enum Key

Visual Basic  Copy Code

Public Enum Key

 Members

  Member name Description

Modifiers

The bitmask to extract modifiers from a key value.

None

No key pressed.

LButton

The left mouse button.

RButton

The right mouse button.

Cancel

The CANCEL key.

MButton

The middle mouse button (three-button mouse).

XButton1

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

XButton2

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

Back

The BACKSPACE key.

Tab

The TAB key.

LineFeed

The LINEFEED key.

Clear

The CLEAR key.

Enter

The ENTER key.

Return

The RETURN key.

ShiftKey

The SHIFT key.

ControlKey

The CTRL key.

Menu

The ALT key.

Pause

The PAUSE key.

CapsLock

The CAPS LOCK key.

Capital

The CAPS LOCK key.

KanaMode

The IME Kana mode key.

HangulMode

The IME Hangul mode key.

HanguelMode

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

JunjaMode

The IME Junja mode key.

FinalMode

The IME final mode key.

KanjiMode

The IME Kanji mode key.

HanjaMode

The IME Hanja mode key.

Escape

The ESC key.

IMEConvert

The IME convert key.

IMENonconvert

The IME nonconvert key.

IMEAceept

The IME accept key. Obsolete, use System.Windows.Forms.Keys.IMEAccept instead.

IMEAccept

The IME accept key, replaces System.Windows.Forms.Keys.IMEAceept.

IMEModeChange

The IME mode change key.

Space

The SPACEBAR key.

Prior

The PAGE UP key.

PageUp

The PAGE UP key.

Next

The PAGE DOWN key.

PageDown

The PAGE DOWN key.

End

The END key.

Home

The HOME key.

Left

The LEFT ARROW key.

Up

The UP ARROW key.

Right

The RIGHT ARROW key.

Down

The DOWN ARROW key.

Select

The SELECT key.

Print

The PRINT key.

Execute

The EXECUTE key.

PrintScreen

The PRINT SCREEN key.

Snapshot

The PRINT SCREEN key.

Insert

The INS key.

Delete

The DEL key.

Help

The HELP key.

D0

The 0 key.

D1

The 1 key.

D2

The 2 key.

D3

The 3 key.

D4

The 4 key.

D5

The 5 key.

D6

The 6 key.

D7

The 7 key.

D8

The 8 key.

D9

The 9 key.

A

The A key.

B

The B key.

C

The C key.

D

The D key.

E

The E key.

F

The F key.

G

The G key.

H

The H key.

I

The I key.

J

The J key.

K

The K key.

L

The L key.

M

The M key.

N

The N key.

O

The O key.

P

The P key.

Q

The Q key.

R

The R key.

S

The S key.

T

The T key.

U

The U key.

V

The V key.

W

The W key.

X

The X key.

Y

The Y key.

Z

The Z key.

LWin

The left Windows logo key (Microsoft Natural Keyboard).

RWin

The right Windows logo key (Microsoft Natural Keyboard).

Apps

The application key (Microsoft Natural Keyboard).

Sleep

The computer sleep key.

NumPad0

The 0 key on the numeric keypad.

NumPad1

The 1 key on the numeric keypad.

NumPad2

The 2 key on the numeric keypad.

NumPad3

The 3 key on the numeric keypad.

NumPad4

The 4 key on the numeric keypad.

NumPad5

The 5 key on the numeric keypad.

NumPad6

The 6 key on the numeric keypad.

NumPad7

The 7 key on the numeric keypad.

NumPad8

The 8 key on the numeric keypad.

NumPad9

The 9 key on the numeric keypad.

Multiply

The multiply key.

Add

The add key.

Separator

The separator key.

Subtract

The subtract key.

Decimal

The decimal key.

Divide

The divide key.

F1

The F1 key.

F2

The F2 key.

F3

The F3 key.

F4

The F4 key.

F5

The F5 key.

F6

The F6 key.

F7

The F7 key.

F8

The F8 key.

F9

The F9 key.

F10

The F10 key.

F11

The F11 key.

F12

The F12 key.

F13

The F13 key.

F14

The F14 key.

F15

The F15 key.

F16

The F16 key.

F17

The F17 key.

F18

The F18 key.

F19

The F19 key.

F20

The F20 key.

F21

The F21 key.

F22

The F22 key.

F23

The F23 key.

F24

The F24 key.

NumLock

The NUM LOCK key.

Scroll

The SCROLL LOCK key.

LShiftKey

The left SHIFT key.

RShiftKey

The right SHIFT key.

LControlKey

The left CTRL key.

RControlKey

The right CTRL key.

LMenu

The left ALT key.

RMenu

The right ALT key.

BrowserBack

The browser back key (Windows 2000 or later).

BrowserForward

The browser forward key (Windows 2000 or later).

BrowserRefresh

The browser refresh key (Windows 2000 or later).

BrowserStop

The browser stop key (Windows 2000 or later).

BrowserSearch

The browser search key (Windows 2000 or later).

BrowserFavorites

The browser favorites key (Windows 2000 or later).

BrowserHome

The browser home key (Windows 2000 or later).

VolumeMute

The volume mute key (Windows 2000 or later).

VolumeDown

The volume down key (Windows 2000 or later).

VolumeUp

The volume up key (Windows 2000 or later).

MediaNextTrack

The media next track key (Windows 2000 or later).

MediaPreviousTrack

The media previous track key (Windows 2000 or later).

MediaStop

The media Stop key (Windows 2000 or later).

MediaPlayPause

The media play pause key (Windows 2000 or later).

LaunchMail

The launch mail key (Windows 2000 or later).

SelectMedia

The select media key (Windows 2000 or later).

LaunchApplication1

The start application one key (Windows 2000 or later).

LaunchApplication2

The start application two key (Windows 2000 or later).

OemSemicolon

The OEM Semicolon key on a US standard keyboard (Windows 2000 or later).

Oem1

The OEM 1 key.

Oemplus

The OEM plus key on any country/region keyboard (Windows 2000 or later).

Oemcomma

The OEM comma key on any country/region keyboard (Windows 2000 or later).

OemMinus

The OEM minus key on any country/region keyboard (Windows 2000 or later).

OemPeriod

The OEM period key on any country/region keyboard (Windows 2000 or later).

Oem2

The OEM 2 key.

OemQuestion

The OEM question mark key on a US standard keyboard (Windows 2000 or later).

Oemtilde

The OEM tilde key on a US standard keyboard (Windows 2000 or later).

Oem3

The OEM 3 key.

OemOpenBrackets

The OEM open bracket key on a US standard keyboard (Windows 2000 or later).

Oem4

The OEM 4 key.

OemPipe

The OEM pipe key on a US standard keyboard (Windows 2000 or later).

Oem5

The OEM 5 key.

Oem6

The OEM 6 key.

OemCloseBrackets

The OEM close bracket key on a US standard keyboard (Windows 2000 or later).

OemQuotes

The OEM singled/double quote key on a US standard keyboard (Windows 2000 or later).

Oem7

The OEM 7 key.

Oem8

The OEM 8 key.

OemBackslash

The OEM angle bracket or backslash key on the RT 102 key keyboard (Windows 2000 or later).

Oem102

The OEM 102 key.

ProcessKey

The PROCESS KEY key.

Packet

Used to pass Unicode characters as if they were keystrokes. The Packet key value is the low word of a 32-bit virtual-key value used for non-keyboard input methods.

Attn

The ATTN key.

Crsel

The CRSEL key.

Exsel

The EXSEL key.

EraseEof

The ERASE EOF key.

Play

The PLAY key.

Zoom

The ZOOM key.

NoName

A constant reserved for future use.

Pa1

The PA1 key.

OemClear

The CLEAR key.

KeyCode

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

Shift

The SHIFT modifier key.

Control

The CTRL modifier key.

Alt

The ALT modifier key.

 See Also