Interface
IVirtualKeyboardKeyInputSender

Exposes properties and methods used by the key input sender.

Definition

Namespace:Telerik.WinControls.VirtualKeyboard

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public interface IVirtualKeyboardKeyInputSender

Properties

IsNumLockActive

Gets a value indicating, whether the NumLock key is in active state.

Declaration

cs-api-definition
bool IsNumLockActive { get; }

Property Value

bool

IsShiftActive

Gets a value indicating, whether the Shift key is in active state.

Declaration

cs-api-definition
bool IsShiftActive { get; }

Property Value

bool

ScaleFontOnResize

Gets a value indicating, whether to scale the font when key size in changed.

Declaration

cs-api-definition
bool ScaleFontOnResize { get; }

Property Value

bool

Methods

GetTextFromKeyInfo(KeyInfo)

Extracts the text by given KeyInfo object.

Declaration

cs-api-definition
string GetTextFromKeyInfo(KeyInfo keyInfo)

Parameters

keyInfo

KeyInfo

The info object.

Returns

string

Returns the symbol/text.

Send(IKey, Keys)

Sends a key by given Keys.

Declaration

cs-api-definition
void Send(IKey sender, Keys key)

Parameters

sender

IKey

The sender IKey instance.

key

Keys

The Keys to be sent.

Send(IKey, char)

Sends a key by given char.

Declaration

cs-api-definition
void Send(IKey sender, char symbol)

Parameters

sender

IKey

The sender IKey instance.

symbol

char

The char to be sent.

Send(IKey, int)

Sends a key by given virtual key.

Declaration

cs-api-definition
void Send(IKey sender, int virtualKey)

Parameters

sender

IKey

The sender IKey instance.

virtualKey

int

The virtual key code to be sent.

Send(IKey, string)

Sends a key by given text/string.

Declaration

cs-api-definition
void Send(IKey sender, string text)

Parameters

sender

IKey

The sender IKey instance.

text

string

The string to be sent.