Search
SpecialKey Members
Constructors Fields Methods
 


Represents special keys.

The following tables list the members exposed by the SpecialKey type.

 Public Constructors

  Name Description

SpecialKey

Overloaded.  

 Public Fields

  Name Description

ALT

The Alt virtual key (key code = 18). (Inherited from Key.)

ALT_GR

  (Inherited from Key.)

BACK_SPACE

The Backspace virtual key. (Inherited from Key.)

CAPS_LOCK

The Caps Lock virtual key. (Inherited from Key.)

CONTEXT

The context menu virtual key. (Inherited from Key.)

CTRL

The Control virtual key (key code = 17). (Inherited from Key.)

DELETE

The Delete virtual key. (Inherited from Key.)

END

The End virtual key. (Inherited from Key.)

ENTER

The Enter virtual key (key code = 13). (Inherited from Key.)

ESC

The Escape virtual key. (Inherited from Key.)

F1

The F1 virtual key. (Inherited from Key.)

F10

The F10 virtual key. (Inherited from Key.)

F11

The F11 virtual key. (Inherited from Key.)

F12

The F12 virtual key. (Inherited from Key.)

F2

The F2 virtual key. (Inherited from Key.)

F3

The F3 virtual key. (Inherited from Key.)

F4

The F4 virtual key. (Inherited from Key.)

F5

The F5 virtual key. (Inherited from Key.)

F6

The F6 virtual key. (Inherited from Key.)

F7

The F7 virtual key. (Inherited from Key.)

F8

The F8 virtual key. (Inherited from Key.)

F9

The F9 virtual key. (Inherited from Key.)

HOME

The Home virtual key. (Inherited from Key.)

INSERT

The Insert virtual key. (Inherited from Key.)

KEY_DOWN

The Down arrow virtual key. (Inherited from Key.)

KEY_LEFT

The Left arrow virtual key. (Inherited from Key.)

KEY_RIGHT

The Right arrow virtual key. (Inherited from Key.)

KEY_UP

The Up arrow virtual key. (Inherited from Key.)

LANG

Language rotation virtual key. (Inherited from Key.)

NUM_5

The numpad 5 virtual key. (Inherited from Key.)

NUM_DELETE

The numpad Delete virtual key. (Inherited from Key.)

NUM_DIV

The numpad / virtual key. (Inherited from Key.)

NUM_DOWN

The numpad Down arrow virtual key. (Inherited from Key.)

NUM_END

The numpad End virtual key. (Inherited from Key.)

NUM_HOME

The numpad Home virtual key. (Inherited from Key.)

NUM_INSERT

The numpad Insert virtual key. (Inherited from Key.)

NUM_LEFT

The numpad Left arrow virtual key. (Inherited from Key.)

NUM_LOCK

The Num Lock virtual key. (Inherited from Key.)

NUM_MINUS

The numpad - virtual key. (Inherited from Key.)

NUM_MULT

The numpad * virtual key. (Inherited from Key.)

NUM_PAGEDOWN

The numpad Page Down virtual key. (Inherited from Key.)

NUM_PAGEUP

The numpad Page Up virtual key. (Inherited from Key.)

NUM_PLUS

The numpad + virtual key. (Inherited from Key.)

NUM_RIGHT

The numpad Right arrow virtual key. (Inherited from Key.)

NUM_UP

The numpad Up arrow virtual key. (Inherited from Key.)

PAGE_DOWN

The Page Down virtual key. (Inherited from Key.)

PAGE_UP

The Page Up virtual key. (Inherited from Key.)

PAUSE_BREAK

The Pause / break virtual key. (Inherited from Key.)

PRTSCR

The Print Screen virtual key. (Inherited from Key.)

SCROLL_LOCK

The Scroll Lock virtual key. (Inherited from Key.)

SHIFT

The Shift virtual key (key code = 16). (Inherited from Key.)

SPACE

The Space virtual key. (Inherited from Key.)

TAB

The Tab virtual key. (Inherited from Key.)

WINDOWS

The Windows virtual key. (Inherited from Key.)

 Protected Fields

  Name Description

content

  (Inherited from Key.)

isLocked

  (Inherited from Key.)

 Public Methods

  Name Description

clone

Clones this key.

equals

Returns a value indicating whether this instance and a specified Key object represent the same value.

getContent

Gets the key's text content. Some descendant key classes send their content as input to currently focused control; other ones only store their labels in it. (Inherited from Key.)

getHeight

Gets the key's height. (Inherited from Key.)

getImage

  (Inherited from Key.)

getImagePath

Gets relative path to an image that should be displayed inside this key. (Inherited from Key.)

getIsLocked

Gets whether a mode associated with a modifier key is enabled. (Inherited from Key.)

getLeft

Gets the horizontal position of the key. (Inherited from Key.)

getTop

Gets the vertical position of the key. (Inherited from Key.)

getVirtualKey

Gets the key code of this key.

getWidth

Gets the key's width. (Inherited from Key.)

hashCode

Returns a hash code for this SpecialKey.

isThis

Gets whether specified virtual key code corresponds to this key.

send

Sends this key to the foreground window.

setContent

Sets the key's text content. Some descendant key classes send their content as input to currently focused control; other ones only store their labels in it. (Inherited from Key.)

setHeight

Sets the key's height. (Inherited from Key.)

setImage

Overloaded.   (Inherited from Key.)

setIsLocked

Sets whether a mode associated with a modifier key is enabled. (Inherited from Key.)

setLeft

Sets the horizontal position of the key. (Inherited from Key.)

setTop

Sets the vertical position of the key. (Inherited from Key.)

setVirtualKey

Sets the key code of this key.

setWidth

Sets the key's width. (Inherited from Key.)

updateKey

Updates the key's labels for current language.

 Protected Methods

  Name Description

copy

Copies the properties of this key to specified one. (Inherited from Key.)

 See Also