Interface IVirtualKeyboardKeyInputSender
Exposes properties and methods used by the key input sender.
Namespace: Telerik.WinControls.VirtualKeyboard
Assembly: Telerik.WinControls.UI.dll
Syntax
public interface IVirtualKeyboardKeyInputSender
Properties
IsNumLockActive
Gets a value indicating, whether the NumLock key is in active state.
Declaration
bool IsNumLockActive { get; }
Property Value
System.Boolean
|
IsShiftActive
Gets a value indicating, whether the Shift key is in active state.
Declaration
bool IsShiftActive { get; }
Property Value
System.Boolean
|
ScaleFontOnResize
Gets a value indicating, whether to scale the font when key size in changed.
Declaration
bool ScaleFontOnResize { get; }
Property Value
System.Boolean
|
Methods
GetTextFromKeyInfo(KeyInfo)
Extracts the text by given KeyInfo object.
Declaration
string GetTextFromKeyInfo(KeyInfo keyInfo)
Parameters
KeyInfo
keyInfo
The info object. |
Returns
System.String
Returns the symbol/text. |
Send(IKey, Char)
Sends a key by given char.
Declaration
void Send(IKey sender, char symbol)
Parameters
IKey
sender
The sender IKey instance. |
System.Char
symbol
The char to be sent. |
Send(IKey, Int32)
Sends a key by given virtual key.
Declaration
void Send(IKey sender, int virtualKey)
Parameters
IKey
sender
The sender IKey instance. |
System.Int32
virtualKey
The virtual key code to be sent. |
Send(IKey, String)
Sends a key by given text/string.
Declaration
void Send(IKey sender, string text)
Parameters
IKey
sender
The sender IKey instance. |
System.String
text
The string to be sent. |
Send(IKey, Keys)
Sends a key by given System.Windows.Forms.Keys.
Declaration
void Send(IKey sender, Keys key)
Parameters
IKey
sender
The sender IKey instance. |
System.Windows.Forms.Keys
key
The System.Windows.Forms.Keys to be sent. |