Class RadVirtualKeyboardForm
Represents a toolbox component that can be used to associate VirtualKeyboardForm to any focusable control or just show a form with that allows keyboard input.
Inheritance
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadVirtualKeyboardForm : Component, IExtenderProvider
Constructors
RadVirtualKeyboardForm()
Initializes a new instance of the RadVirtualKeyboardForm component.
Declaration
public RadVirtualKeyboardForm()
RadVirtualKeyboardForm(IContainer)
Initializes a new instance of the RadVirtualKeyboardForm component.
Declaration
public RadVirtualKeyboardForm(IContainer container)
Parameters
System.ComponentModel.IContainer
container
The parent container. |
Properties
KeyboardForm
Gets the VirtualKeyboardForm.
Declaration
public VirtualKeyboardForm KeyboardForm { get; }
Property Value
VirtualKeyboardForm
|
LayoutType
Gets or sets the keyboard layout type. Changing the value will automatically set the MainLayoutPanel property with a predefined value.
Declaration
public KeyboardLayoutType LayoutType { get; set; }
Property Value
KeyboardLayoutType
|
MainLayoutPanel
Gets or sets the VirtualKeyboardLayoutPanel, which is used to host and arrange VirtualKeyboardLayoutPanel and VirtualKeyboardLayout objects.
Declaration
public VirtualKeyboardLayoutPanel MainLayoutPanel { get; set; }
Property Value
VirtualKeyboardLayoutPanel
|
OpenUnderAssociatedControl
Gets or sets a value indicating whether to open the VirtualKeyboardForm under the associated control that gets the focus.
Declaration
public bool OpenUnderAssociatedControl { get; set; }
Property Value
System.Boolean
|
ScaleFontOnResize
Gets or sets a value indicating, whether to scale the font when control size in changed.
Declaration
public bool ScaleFontOnResize { get; set; }
Property Value
System.Boolean
|
SynchronizeCultureWithSystem
Gets or sets a value indicating whether the RadVirtualKeyboardElement will track with the system for language changes and will be updated automatically.
Declaration
public bool SynchronizeCultureWithSystem { get; set; }
Property Value
System.Boolean
|
ThemeName
Gets or sets theme name.
Declaration
public string ThemeName { get; set; }
Property Value
System.String
|
UseClickSound
Gets or sets a value indicating whether to play sound when a key is pressed.
Declaration
public bool UseClickSound { get; set; }
Property Value
System.Boolean
|
VirtualKeyboard
Gets the RadVirtualKeyboard control.
Declaration
public RadVirtualKeyboard VirtualKeyboard { get; }
Property Value
RadVirtualKeyboard
|
Methods
AddAssociatedControl(Control)
Adds an associated control. When the associated control gains the focus the KeyboardForm will be shown.
Declaration
public void AddAssociatedControl(Control value)
Parameters
System.Windows.Forms.Control
value
|
CreateVirtualKeyboardForm()
Creates a VirtualKeyboardForm.
Declaration
protected virtual VirtualKeyboardForm CreateVirtualKeyboardForm()
Returns
VirtualKeyboardForm
The created form. |
GetAssociatedKeyboardType(Control)
Gets the AssociatedKeyboardType of a given control.
Declaration
public AssociatedKeyboardType GetAssociatedKeyboardType(Control control)
Parameters
System.Windows.Forms.Control
control
The control. |
Returns
AssociatedKeyboardType
The type of association. |
RemoveAssociatedControl(Control)
Removes an associated control.
Declaration
public void RemoveAssociatedControl(Control value)
Parameters
System.Windows.Forms.Control
value
|
SetAssociatedKeyboardType(Control, AssociatedKeyboardType)
Sets AssociatedKeyboardType to a given control.
Declaration
public void SetAssociatedKeyboardType(Control control, AssociatedKeyboardType value)
Parameters
System.Windows.Forms.Control
control
The control. |
AssociatedKeyboardType
value
The type of association. |
Show()
UpdateKeyboardFormSizeAndLocation(Rectangle)
Declaration
protected virtual void UpdateKeyboardFormSizeAndLocation(Rectangle associatedControlScreenBounds)
Parameters
System.Drawing.Rectangle
associatedControlScreenBounds
|