Interface IKey
An interface that defines all necessary members for each key added to the RadVirtualKeyboard.
Namespace: Telerik.WinControls.VirtualKeyboard
Assembly: Telerik.WinControls.UI.dll
Syntax
public interface IKey
Properties
FontScale
Gets or sets the font scale coefficient, used when key is larger or smaller than the KeyDefaultSize.
Declaration
float FontScale { get; set; }
Property Value
System.Single
|
KeyHeight
Gets or sets the logical key height.
Declaration
float KeyHeight { get; set; }
Property Value
System.Single
|
KeyInfo
Gets or sets the associated key info object.
Declaration
KeyInfo KeyInfo { get; set; }
Property Value
KeyInfo
|
KeyRectangle
Gets or sets the logical key bounds.
Declaration
RectangleF KeyRectangle { get; set; }
Property Value
System.Drawing.RectangleF
|
KeyType
KeyWidth
Gets or sets the logical key width.
Declaration
float KeyWidth { get; set; }
Property Value
System.Single
|
Owner
Gets the owner element used to send the keys.
Declaration
IVirtualKeyboardKeyInputSender Owner { get; }
Property Value
IVirtualKeyboardKeyInputSender
|
VirtualKey
Gets the virtual key code.
Declaration
int VirtualKey { get; }
Property Value
System.Int32
|
Methods
ArrangeKey(RectangleF)
Arranges the key in the specified rectangle.
Declaration
void ArrangeKey(RectangleF rectangle)
Parameters
System.Drawing.RectangleF
rectangle
The layout rectangle. |
SendKey()
Sends a virtual key code or string.
Declaration
void SendKey()
UpdateKey()
Updates key text and other necessary styles.
Declaration
void UpdateKey()