skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadVirtualKeyboardForm

Represents a toolbox component that provides virtual keyboard functionality by associating a VirtualKeyboardForm with any focusable control or displaying it as a standalone form for keyboard input.

Inheritance
System.Object
RadVirtualKeyboardForm
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 instance. Creates a new instance if one does not exist.

Declaration
public VirtualKeyboardForm KeyboardForm { get; }
Property Value
VirtualKeyboardForm

LayoutType

Gets or sets the keyboard layout type. Changing this value will automatically update the MainLayoutPanel property with a predefined layout configuration.

Declaration
public KeyboardLayoutType LayoutType { get; set; }
Property Value
KeyboardLayoutType

MainLayoutPanel

Gets or sets the VirtualKeyboardLayoutPanel that hosts and arranges VirtualKeyboardLayoutPanel and VirtualKeyboardLayout objects within the virtual keyboard.

Declaration
public VirtualKeyboardLayoutPanel MainLayoutPanel { get; set; }
Property Value
VirtualKeyboardLayoutPanel

OpenUnderAssociatedControl

Gets or sets a value indicating whether to automatically position the VirtualKeyboardForm beneath the associated control that receives focus.

Declaration
public bool OpenUnderAssociatedControl { get; set; }
Property Value
System.Boolean

ScaleFontOnResize

Gets or sets a value indicating whether to automatically scale the font size when the KeyboardForm size changes.

Declaration
public bool ScaleFontOnResize { get; set; }
Property Value
System.Boolean

SynchronizeCultureWithSystem

Gets or sets a value indicating whether the RadVirtualKeyboard will automatically track system language changes and update its layout accordingly.

Declaration
public bool SynchronizeCultureWithSystem { get; set; }
Property Value
System.Boolean

ThemeName

Gets or sets the theme name applied to the VirtualKeyboardForm.

Declaration
public string ThemeName { get; set; }
Property Value
System.String

UseClickSound

Gets or sets a value indicating whether to play an audible click sound when a virtual keyboard key is pressed.

Declaration
public bool UseClickSound { get; set; }
Property Value
System.Boolean

VirtualKeyboard

Gets the RadVirtualKeyboard control contained within the KeyboardForm.

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

The control to associate with the virtual keyboard.

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 from the virtual keyboard.

Declaration
public void RemoveAssociatedControl(Control value)
Parameters
System.Windows.Forms.Control value

The control to remove from the virtual keyboard association.

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()

Shows the KeyboardForm as a non-modal dialog box.

Declaration
public void Show()

UpdateKeyboardFormSizeAndLocation(Rectangle)

Updates the size and location of the KeyboardForm based on the screen bounds and associated control position.

Declaration
protected virtual void UpdateKeyboardFormSizeAndLocation(Rectangle associatedControlScreenBounds)
Parameters
System.Drawing.Rectangle associatedControlScreenBounds

The screen bounds of the associated control.

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.