Interface
IKey

An interface that defines all necessary members for each key added to the RadVirtualKeyboard.

Definition

Namespace:Telerik.WinControls.VirtualKeyboard

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public interface IKey

Properties

FontScale

Gets or sets the font scale coefficient, used when key is larger or smaller than the KeyDefaultSize.

Declaration

cs-api-definition
float FontScale { get; set; }

Property Value

float

KeyHeight

Gets or sets the logical key height.

Declaration

cs-api-definition
float KeyHeight { get; set; }

Property Value

float

KeyInfo

Gets or sets the associated key info object.

Declaration

cs-api-definition
KeyInfo KeyInfo { get; set; }

Property Value

KeyInfo

KeyRectangle

Gets or sets the logical key bounds.

Declaration

cs-api-definition
RectangleF KeyRectangle { get; set; }

Property Value

RectangleF

KeyType

Gets the type of the key.

Declaration

cs-api-definition
KeyType KeyType { get; }

Property Value

KeyType

KeyWidth

Gets or sets the logical key width.

Declaration

cs-api-definition
float KeyWidth { get; set; }

Property Value

float

Owner

Gets the owner element used to send the keys.

Declaration

cs-api-definition
IVirtualKeyboardKeyInputSender Owner { get; }

Property Value

IVirtualKeyboardKeyInputSender

VirtualKey

Gets the virtual key code.

Declaration

cs-api-definition
int VirtualKey { get; }

Property Value

int

Methods

ArrangeKey(RectangleF)

Arranges the key in the specified rectangle.

Declaration

cs-api-definition
void ArrangeKey(RectangleF rectangle)

Parameters

rectangle

RectangleF

The layout rectangle.

SendKey()

Sends a virtual key code or string.

Declaration

cs-api-definition
void SendKey()

UpdateKey()

Updates key text and other necessary styles.

Declaration

cs-api-definition
void UpdateKey()