MindFusion.Wpf Pack Programmer's Guide
RegularKey Members
Constructors Properties Methods Events
 


Represents regular keyboard keys that send character codes as input.

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

 Public Constructors

  Name Description

RegularKey

Overloaded.  

 Public Properties

  Name Description

Alt

The alt virtual key. Virtual Key = 18 (Inherited from Key.)

AlterCase

The alter-case label to display.

AltGr

The alt gr virtual key. Virtual Key = 165 (Inherited from Key.)

AltGrLock

AltGrLock; obsolete.

AltLock

AltLock; obsolete.

Backspace

The backspace virtual key. (Inherited from Key.)

CapitalCase

The capital-case label to display.

CapsLock

The caps lock virtual key. (Inherited from Key.)

Content

Gets or 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.)

Context

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

ControlLock

ControlLock; obsolete.

Ctrl

The control virtual key. Virtual Key = 17 (Inherited from Key.)

CurrentCase

Gets current character label depending on state of keys such as shift, alt etc.

Delete

The delete virtual key. (Inherited from Key.)

End

The end virtual key. (Inherited from Key.)

Enter

The enter virtual key. Virtual Key = 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.)

Height

The key's height. (Inherited from Key.)

Home

The home virtual key. (Inherited from Key.)

Image

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

Insert

The insert virtual key. (Inherited from Key.)

IsHovered

Gets whether the key is hovered by mouse. (Inherited from Key.)

IsLocked

IsLocked. Used only for shift, alt, altgr, control, caps lock and num lock. (Inherited from Key.)

IsPressed

Set to true when this key is pressed down by the user. (Inherited from Key.)

IsSelected

IsSelected (Inherited from Key.)

KeyDown

The key down virtual key. (Inherited from Key.)

KeyLeft

The key left virtual key. (Inherited from Key.)

KeyRight

The key right virtual key. (Inherited from Key.)

KeyUp

The key up virtual key. (Inherited from Key.)

Lang

Language rotation virtual key. (Inherited from Key.)

Left

Horizontal position of the key. (Inherited from Key.)

LowerCase

The lower-case label to display.

Num5

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

NumDelete

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

NumDiv

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

NumEnd

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

NumHome

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

NumInsert

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

NumKeyDown

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

NumKeyLeft

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

NumKeyRight

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

NumKeyUp

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

NumLock

The num lock virtual key. (Inherited from Key.)

NumMinus

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

NumMult

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

NumPageDown

The numpad page down virtual key. (Inherited from Key.)

NumPageUp

The numpad page up virtual key. (Inherited from Key.)

NumPlus

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

OverrideLabel

An overriding label for all cases.

PageDown

The page down virtual key. (Inherited from Key.)

PageUp

The page up virtual key. (Inherited from Key.)

PauseBreak

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

PrtScr

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

Repeat

Gets or sets how many times to send the key code when this key is pressed.

ScrollLock

The scroll lock virtual key. (Inherited from Key.)

Shift

The shift virtual key. Virtual Key = 16 (Inherited from Key.)

ShiftLock

ShiftLock; obsolete.

Space

The space virtual key. (Inherited from Key.)

Tab

The tab virtual key. (Inherited from Key.)

Top

Vertical position of the key. (Inherited from Key.)

UpperCase

The upper-case label to display.

VirtualKey

Gets or sets the virtual key code of this key.

Width

The key's width. (Inherited from Key.)

Windows

The Windows virtual key. (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.

GetHashCode

Returns a hash code for this RegularKey.

GetVirtualKeyCode

Gets the virtual key code corresponding to a System.Windows.Input.Key value. (Inherited from Key.)

Send

Sends this key to the foreground window.

 Protected Methods

  Name Description

Copy

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

 Public Events

  Name Description

PropertyChanged

PropertyChanged (Inherited from Key.)

 See Also

RegularKey Class
MindFusion.UI.Wpf Namespace