Class RadVirtualKeyboard
A virtual keyboard that mimics the actions of a physical one.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
[TelerikToolboxCategory("Navigation")]
public class RadVirtualKeyboard : Control, IThemable, IDisposable
Constructors
RadVirtualKeyboard()
Fields
CultureProperty
Identifies the Culture dependency property.
Declaration
public static readonly DependencyProperty CultureProperty
Field Value
System.Windows.DependencyProperty
|
DefaultKeyboardLayoutProperty
Identifies the DefaultKeyboardLayout dependency property.
Declaration
public static readonly DependencyProperty DefaultKeyboardLayoutProperty
Field Value
System.Windows.DependencyProperty
|
IsKeyPressSoundEnabledProperty
Identifies the IsKeyPressSoundEnabled dependency property.
Declaration
public static readonly DependencyProperty IsKeyPressSoundEnabledProperty
Field Value
System.Windows.DependencyProperty
|
SynchronizeCultureWithSystemProperty
Identifies the SynchronizeCultureWithSystem dependency property.
Declaration
public static readonly DependencyProperty SynchronizeCultureWithSystemProperty
Field Value
System.Windows.DependencyProperty
|
VirtualKeyboardTemplateSelectorProperty
Identifies the VirtualKeyboardTemplateSelector dependency property.
Declaration
public static readonly DependencyProperty VirtualKeyboardTemplateSelectorProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Culture
Gets or sets the culture to be displayed in the keyboard.
Declaration
public CultureInfo Culture { get; set; }
Property Value
System.Globalization.CultureInfo
|
DefaultKeyboardLayout
Gets or sets one of the default keyboard layouts.
Declaration
public DefaultKeyboardLayout DefaultKeyboardLayout { get; set; }
Property Value
DefaultKeyboardLayout
|
IsKeyPressSoundEnabled
Gets or sets whether pressing a key will also produce a sound.
Declaration
public bool IsKeyPressSoundEnabled { get; set; }
Property Value
System.Boolean
|
KeyFactory
Gets or sets the factory used for creation of key view models.
Declaration
public IKeyViewModelFactory KeyFactory { get; set; }
Property Value
IKeyViewModelFactory
|
KeySoundPlayer
Gets or sets the player to play sounds when a key is pressed.
Declaration
public IKeySoundPlayer KeySoundPlayer { get; set; }
Property Value
IKeySoundPlayer
|
SynchronizeCultureWithSystem
Gets or sets a value indicating whether the component should track the systems culture and adjust the keys accordingly.
Declaration
public bool SynchronizeCultureWithSystem { get; set; }
Property Value
System.Boolean
|
VirtualKeyboardTemplateSelector
Gets or sets the template selector used for creating visual elements for keys.
Declaration
public VirtualKeyboardTemplateSelector VirtualKeyboardTemplateSelector { get; set; }
Property Value
VirtualKeyboardTemplateSelector
|
Methods
Dispose()
Declaration
public void Dispose()
Implements
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
System.Boolean
disposing
|
Finalize()
Declaration
protected override void Finalize()
LoadLayout(Stream)
Loads an xml containing a description of a virtual keyboard's layout.
Declaration
public void LoadLayout(Stream stream)
Parameters
System.IO.Stream
stream
The stream to load the layout from. |
LoadLayout(String)
Loads an xml containing a description of a virtual keyboard's layout or the default layout.
Declaration
public void LoadLayout(string filename)
Parameters
System.String
filename
The file to load the layout from. Set this to null to load the default layout. |
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
|
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()