Search
VirtualKeyboard Members
Constructors Properties Methods Events
 


Implements a reusable Virtual Keyboard component.

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

 Public Constructors

  Name Description

VirtualKeyboard

Initializes a new instance of the VirtualKeyboard class.

 Public Properties

  Name Description

autoReleaseModifierKeys

Gets or sets a value indicating whether pressing a regular key should automatically release modifier keys such as shift, alt, control etc. (except CapsLock).

autoRepeat

Gets or sets a value indicating whether the component should synthesize keyboard events repeatedly when a virtual key is pressed down, until the key is released.

inputLocale

Gets or sets the current input language.

layout

Gets or sets the current keyboard layout.

layoutMode

Gets or sets the current keyboard layout mode.

scaleToFitParent

Gets or sets a value indicating whether the keyboard scales to fit inside its parent element.

theme

Gets or sets the current theme of the control.

 Public Methods

  Name Description

attach

Control.attach override.

create

Creates and initializes a new VirtualKeyboard on the specified DOM element. This method is static and can be called without creating an instance of the class.

detach

Control.detach override.

draw

Control.draw override.

sendKey

Sends the specified key as input to focused element.

 Public Events

  Name Description

keyPressed

Raised when a key is pressed.

 See Also