skip navigation
  • Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue 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 Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    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 VirtualKeyboardLayout

Represents a class that hosts all IKey instances, the infrastructure to create new keys, organizes them into logical rows and contains the logical layout implementation. This class also has several predefined layouts.

Inheritance
System.Object
DisposableObject
RadObject
RadElement
BaseVirtualKeyboardLayout
VirtualKeyboardLayout
Inherited Members
BaseVirtualKeyboardLayout.ArrangeKeyboardLayout(RectangleF)
BaseVirtualKeyboardLayout.FindRowByKey(IKey)
BaseVirtualKeyboardLayout.KeyLayoutMode
RadElement.BoundsProperty
RadElement.BorderThicknessProperty
RadElement.PaddingProperty
RadElement.MarginProperty
RadElement.AlignmentProperty
RadElement.AutoSizeModeProperty
RadElement.FitToSizeModeProperty
RadElement.MinSizeProperty
RadElement.EnabledProperty
RadElement.CanFocusProperty
RadElement.IsItemFocusedProperty
RadElement.IsFocusedProperty
RadElement.IsMouseOverProperty
RadElement.IsMouseOverElementProperty
RadElement.IsMouseDownProperty
RadElement.ShouldPaintProperty
RadElement.VisibilityProperty
RadElement.NameProperty
RadElement.ClassProperty
RadElement.ClipDrawingProperty
RadElement.ShapeProperty
RadElement.MouseClickedEvent
RadElement.MouseDoubleClickedEvent
RadElement.MouseDownEvent
RadElement.MouseUpEvent
RadElement.MouseWheelEvent
RadElement.ChildElementAddedEvent
RadElement.ParentChangedEvent
RadElement.BoundsChangedEvent
RadElement.VisibilityChangingEvent
RadElement.EnabledChangedEvent
RadElement.ControlChangedEvent
RadElement.BackgroundShapeProperty
RadElement.BackgroundShapePaintModeProperty
RadElement.ContainsFocusProperty
RadElement.ContainsMouseProperty
RadElement.IsEditedInSpyProperty
RadElement.MaxSizeProperty
RadElement.RightToLeftProperty
RadElement.AutoSizeProperty
RadElement.ZIndexProperty
RadElement.AngleTransformProperty
RadElement.ScaleTransformProperty
RadElement.PositionOffsetProperty
RadElement.TagProperty
RadElement.StretchHorizontallyProperty
RadElement.StretchVerticallyProperty
RadElement.UseCompatibleTextRenderingProperty
RadElement.ClickModeProperty
RadElement.styleVersion
RadElement.paintSystemSkin
RadElement.TraceInvalidation
RadElement.SetPropertyValueCommand
RadElement.GetPropertyValueCommand
RadElement.RadElementLastStateKey
RadElement.StyleProperty
RadElement.CallCreateChildElements()
RadElement.SuspendReferenceUpdate()
RadElement.ResumeReferenceUpdate()
RadElement.CreateChildElements()
RadElement.OnLoad(Boolean)
RadElement.CallOnLoad(Boolean)
RadElement.LoadCore()
RadElement.OnLoaded()
RadElement.OnUnload(ComponentThemableElementTree, Boolean)
RadElement.UnloadCore(ComponentThemableElementTree)
RadElement.OnUnloaded(ComponentThemableElementTree)
RadElement.OnElementTreeChanged(ComponentThemableElementTree)
RadElement.OnBeginDispose()
RadElement.SetParent(RadElement)
RadElement.OnParentChanged(RadElement)
RadElement.UpdateReferences(ComponentThemableElementTree, Boolean, Boolean)
RadElement.SetIsDesignMode(Boolean, Boolean)
RadElement.ChangeCollection(RadElement, ItemsChangeOperation)
RadElement.ResetLayout(Boolean)
RadElement.HasInvisibleAncestor()
RadElement.ResetLayoutCore()
RadElement.SetAllLocalValuesAsDefault(Boolean)
RadElement.InvalidateArrange()
RadElement.InvalidateArrange(Boolean)
RadElement.InvalidateMeasure()
RadElement.InvalidateMeasure(Boolean)
RadElement.UpdateLayout()
RadElement.SuspendLayout()
RadElement.SuspendLayout(Boolean)
RadElement.ResumeLayout(Boolean)
RadElement.ResumeLayout(Boolean, Boolean)
RadElement.Arrange(RectangleF)
RadElement.Measure(SizeF)
RadElement.SetBounds(Rectangle)
RadElement.SetBounds(Int32, Int32, Int32, Int32)
RadElement.GetBoundingRectangle(Size)
RadElement.GetBoundingRectangle(Rectangle)
RadElement.GetDesiredSize(Boolean)
RadElement.PointToScreen(Point)
RadElement.PointFromScreen(Point)
RadElement.PointToControl(Point)
RadElement.PointFromControl(Point)
RadElement.LocationToControl()
RadElement.RectangleToScreen(Rectangle)
RadElement.HitTest(Point)
RadElement.CallOnRenderSizeChanged(SizeChangedInfo)
RadElement.OnRenderSizeChanged(SizeChangedInfo)
RadElement.OnChildDesiredSizeChanged(RadElement)
RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)
RadElement.ArrangeCore(RectangleF)
RadElement.MeasureCore(SizeF)
RadElement.ShouldMeasureChild(RadElement)
RadElement.MeasureChildren(SizeF)
RadElement.GetArrangeRect(RectangleF)
RadElement.CanExecuteLayoutOperation()
RadElement.CalcLayoutOffset(PointF)
RadElement.LockBounds()
RadElement.UnlockBounds()
RadElement.SetBoundsCore(Rectangle)
RadElement.IsInValidState(Boolean)
RadElement.GetScrollingOffset()
RadElement.Invalidate()
RadElement.Invalidate(Boolean)
RadElement.GetInvalidateBounds()
RadElement.NotifyInvalidate(RadElement)
RadElement.OnTransformationInvalidated()
RadElement.InvalidateTransformations()
RadElement.PerformLayoutTransformation(RadMatrix)
RadElement.PerformPaintTransformation(RadMatrix)
RadElement.IsInGetAsBitmap()
RadElement.PaintElement(IGraphics, Single, SizeF)
RadElement.PaintElementSkin(IGraphics)
RadElement.PaintOverride(IGraphics, Rectangle, Single, SizeF, Boolean)
RadElement.Paint(IGraphics, Rectangle, Single, SizeF, Boolean)
RadElement.PrePaintElement(IGraphics)
RadElement.PostPaintElement(IGraphics)
RadElement.PaintBackgroundShape(IGraphics)
RadElement.PostPaintChildren(IGraphics, Rectangle, Single, SizeF)
RadElement.PaintChildren(IGraphics, Rectangle, Single, SizeF, Boolean)
RadElement.PaintChild(RadElement, IGraphics, Rectangle, Single, SizeF, Boolean)
RadElement.PaintShadow(RadElement, IGraphics)
RadElement.PaintShadowCore(Graphics, Rectangle, RadItem)
RadElement.GetShadowRect(Rectangle, Int32)
RadElement.PaintFocusCues(IGraphics, Rectangle)
RadElement.GetAsBitmap(IGraphics, Brush, Single, SizeF)
RadElement.GetAsTransformedBitmap(IGraphics, Brush, Single, SizeF)
RadElement.GetAsTransformedBitmap(Brush, Single, SizeF)
RadElement.GetAsTransformedBitmap(Rectangle, Brush, Single, SizeF)
RadElement.GetAsBitmapEx(Color, Single, SizeF)
RadElement.GetAsBitmapEx(Brush, Single, SizeF)
RadElement.GetAsBitmap(Brush, Single, SizeF)
RadElement.IsInVisibleClipBounds(Rectangle)
RadElement.SetClipping(Graphics)
RadElement.GetClipRect()
RadElement.ShouldPaintChild(RadElement)
RadElement.GetFocusRect()
RadElement.GetCurrentShape()
RadElement.GetPaintRectangle(Single, Single, SizeF)
RadElement.GetPatchedRect(RectangleF, Single, SizeF)
RadElement.GetXPVisualStyle()
RadElement.GetVistaVisualStyle()
RadElement.InitializeSystemSkinPaint()
RadElement.UnitializeSystemSkinPaint()
RadElement.GetSystemSkinPaintBounds()
RadElement.OnUseSystemSkinChanged(EventArgs)
RadElement.ShouldPaintSystemSkin()
RadElement.ComposeShouldPaintSystemSkin()
RadElement.MapStyleProperty(RadProperty, String)
RadElement.GetStylablePropertiesFilter()
RadElement.ResetStyleSettings(Boolean)
RadElement.ResetStyleSettings(Boolean, RadProperty)
RadElement.ProcessBehaviors(RadPropertyChangedEventArgs)
RadElement.AddBehavior(PropertyChangeBehavior)
RadElement.GetBehaviors()
RadElement.RemoveBehavior(PropertyChangeBehavior)
RadElement.ClearBehaviors()
RadElement.AddRangeBehavior(PropertyChangeBehaviorCollection)
RadElement.SetThemeApplied(Boolean)
RadElement.OnStyleChanged(RadPropertyChangedEventArgs)
RadElement.SuspendThemeRefresh()
RadElement.ResumeThemeRefresh()
RadElement.UnapplyStyle()
RadElement.RemoveRangeBehaviors(PropertyChangeBehaviorCollection)
RadElement.RemoveBehaviors(PropertyChangeBehavior)
RadElement.RemoveRangeRoutedEventBehaviors(RoutedEventBehaviorCollection)
RadElement.GetThemeEffectiveType()
RadElement.GetChildrenByType(Type)
RadElement.GetChildrenByBaseType(Type)
RadElement.FindAncestorByThemeEffectiveType(Type)
RadElement.FindAncestor<T>()
RadElement.IsAncestorOf(RadElement)
RadElement.FindDescendant<T>()
RadElement.FindDescendant(Predicate<RadElement>)
RadElement.FindDescendant(Type)
RadElement.EnumDescendants(TreeTraversalMode)
RadElement.EnumDescendants(Predicate<RadElement>, TreeTraversalMode)
RadElement.EnumDescendants(Filter, TreeTraversalMode)
RadElement.GetDescendants(Predicate<RadElement>, TreeTraversalMode)
RadElement.GetDescendants(Filter, TreeTraversalMode)
RadElement.GetAncestors(Filter)
RadElement.GetAncestors(Predicate<RadElement>)
RadElement.RaiseRoutedEvent(RadElement, RoutedEventArgs)
RadElement.RaiseTunnelEvent(RadElement, RoutedEventArgs)
RadElement.RaiseBubbleEvent(RadElement, RoutedEventArgs)
RadElement.OnTunnelEvent(RadElement, RoutedEventArgs)
RadElement.OnBubbleEvent(RadElement, RoutedEventArgs)
RadElement.IsEventInProcess(RaisedRoutedEvent)
RadElement.RegisterRoutedEvent(String, Type)
RadElement.GetRegisterRoutedEvent(String, Type)
RadElement.GetRegisterRoutedEvent(String, String)
RadElement.GetRegisterRoutedEvent(String)
RadElement.OnChildrenChanged(RadElement, ItemsChangeOperation)
RadElement.GetChildren(ChildrenListOptions)
RadElement.SendToBack()
RadElement.BringToFront()
RadElement.GetChildAt(Int32)
RadElement.IsChildOf(RadElement)
RadElement.Focus()
RadElement.Focus(Boolean)
RadElement.SetFocusPropertySafe(Boolean)
RadElement.SetElementFocused(Boolean)
RadElement.KillFocus()
RadElement.SetFocus()
RadElement.OnCLREventsRise(RoutedEventArgs)
RadElement.OnMouseMove(MouseEventArgs)
RadElement.OnMouseHover(EventArgs)
RadElement.OnEnabledChanged(RadPropertyChangedEventArgs)
RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)
RadElement.OnMouseDown(MouseEventArgs)
RadElement.OnMouseUp(MouseEventArgs)
RadElement.OnLostMouseCapture(MouseEventArgs)
RadElement.OnClick(EventArgs)
RadElement.OnDoubleClick(EventArgs)
RadElement.OnMouseEnter(EventArgs)
RadElement.OnMouseLeave(EventArgs)
RadElement.PerformClick()
RadElement.OnMouseWheel(MouseEventArgs)
RadElement.DoMouseWheel(MouseEventArgs)
RadElement.DoClick(EventArgs)
RadElement.DoDoubleClick(EventArgs)
RadElement.CallDoMouseWheel(MouseEventArgs)
RadElement.IsInputKey(InputKeyEventArgs)
RadElement.MouseEventArgsFromControl(MouseEventArgs)
RadElement.DoMouseDown(MouseEventArgs)
RadElement.DoMouseUp(MouseEventArgs)
RadElement.DoMouseMove(MouseEventArgs)
RadElement.ShowScreenTip(ScreenTipNeededEventArgs)
RadElement.HideScreenTip()
RadElement.DoMouseHover(EventArgs)
RadElement.OnShowScreenTip(ComponentInputBehavior)
RadElement.RaiseClick(EventArgs)
RadElement.RaiseDoubleClick(EventArgs)
RadElement.RaiseMouseWheel(MouseEventArgs)
RadElement.UpdateContainsMouse()
RadElement.UpdateContainsFocus(Boolean)
RadElement.DoMouseEnter(EventArgs)
RadElement.DoMouseLeave(EventArgs)
RadElement.CallDoMouseDown(MouseEventArgs)
RadElement.CallDoMouseUp(MouseEventArgs)
RadElement.CallDoMouseMove(MouseEventArgs)
RadElement.CallDoMouseHover(EventArgs)
RadElement.CallDoMouseEnter(EventArgs)
RadElement.CallDoMouseLeave(EventArgs)
RadElement.CallDoClick(EventArgs)
RadElement.CallDoDoubleClick(EventArgs)
RadElement.GetValue(RadProperty)
RadElement.AddStylePropertySetting(IPropertySetting)
RadElement.SetValueCore(RadPropertyValue, Object, Object, ValueSource)
RadElement.NotifyChildren(RadPropertyChangedEventArgs)
RadElement.OnBoundsChanged(RadPropertyChangedEventArgs)
RadElement.OnLocationChanged(RadPropertyChangedEventArgs)
RadElement.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)
RadElement.OnPropertyChanged(RadPropertyChangedEventArgs)
RadElement.CanRaisePropertyChangeNotifications(RadPropertyValue)
RadElement.IsPropertyCancelable(RadPropertyMetadata)
RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs)
RadElement.ReplaceDefaultDescriptors(PropertyDescriptorCollection)
RadElement.ToString()
RadElement.DisposeManagedResources()
RadElement.PerformDispose(Boolean)
RadElement.DisposeChildren()
RadElement.ResetUseCompatibleTextRendering()
RadElement.ShouldSerializeUseCompatibleTextRendering()
RadElement.IStylableNode.GetThemeEffectiveType()
RadElement.IStylableNode.ApplySettings(PropertySettingGroup)
RadElement.GetStylableChildrenHierarchy()
RadElement.GetStylableChildren()
RadElement.ResetStyleVersion()
RadElement.GetClientRectangle(SizeF)
RadElement.GetBorderThickness(BorderPrimitive)
RadElement.DpiScaleChanged(SizeF)
RadElement.ElementState
RadElement.LayoutManager
RadElement.DesiredSize
RadElement.IsLayoutSuspended
RadElement.BoundingRectangle
RadElement.ControlBoundingRectangle
RadElement.BypassLayoutPolicies
RadElement.IsArrangeValid
RadElement.IsMeasureValid
RadElement.PreviousArrangeRect
RadElement.PreviousConstraint
RadElement.TreeLevel
RadElement.Transform
RadElement.TotalTransform
RadElement.ShouldPaintUsingParentShape
RadElement.UseSystemSkin
RadElement.VsbVisible
RadElement.CanHaveOwnStyle
RadElement.PropagateStyleToChildren
RadElement.ThemeEffectiveType
RadElement.ElementTree
RadElement.Children
RadElement.ChildrenHierarchy
RadElement.Parent
RadElement.RoutedEventBehaviors
RadElement.LayoutableChildrenCount
RadElement.ContainsFocus
RadElement.ShouldHandleMouseInput
RadElement.NotifyParentOnMouseInput
RadElement.IsAbleToRespondToMouseEvents
RadElement.AutoSize
RadElement.Bounds
RadElement.Location
RadElement.Size
RadElement.BorderThickness
RadElement.Padding
RadElement.Margin
RadElement.Alignment
RadElement.AutoSizeMode
RadElement.FitToSizeMode
RadElement.Enabled
RadElement.CanFocus
RadElement.IsFocused
RadElement.IsMouseOver
RadElement.IsMouseOverElement
RadElement.IsMouseDown
RadElement.InvalidateChildrenOnChildChanged
RadElement.ShouldPaint
RadElement.Visibility
RadElement.IsElementVisible
RadElement.Name
RadElement.Class
RadElement.ClipDrawing
RadElement.Shape
RadElement.MinSize
RadElement.MaxSize
RadElement.ZIndex
RadElement.RightToLeft
RadElement.UseCompatibleTextRendering
RadElement.BackgroundShape
RadElement.BackgroundShapePaintMode
RadElement.ContainsMouse
RadElement.Capture
RadElement.ScaleTransform
RadElement.AngleTransform
RadElement.PositionOffset
RadElement.SerializeProperties
RadElement.SerializeElement
RadElement.SerializeChildren
RadElement.RenderingMaxFramerate
RadElement.IsThemeApplied
RadElement.ShouldApplyTheme
RadElement.UseCenteredAngleTransform
RadElement.Tag
RadElement.StretchHorizontally
RadElement.StretchVertically
RadElement.ClickMode
RadElement.DoubleClickEnabled
RadElement.CaptureOnMouseDown
RadElement.IsFocusable
RadElement.IsItemHovered
RadElement.IStylableNode.Parent
RadElement.IStylableNode.ChildrenHierarchy
RadElement.IStylableNode.Children
RadElement.IStylableNode.Class
RadElement.Style
RadElement.ToolTipText
RadElement.AutoToolTip
RadElement.ScreenTip
RadElement.AutoNumberKeyTip
RadElement.MeasureIsDirty
RadElement.ArrangeIsDirty
RadElement.NeverMeasured
RadElement.NeverArranged
RadElement.ArrangeInProgress
RadElement.MeasureInProgress
RadElement.ShouldPaintChildren
RadElement.InvalidateMeasureOnRemove
RadElement.HideFromElementHierarchyEditor
RadElement.DpiScaleFactor
RadElement.LayoutUpdated
RadElement.ElementPainted
RadElement.MouseHover
RadElement.MouseMove
RadElement.MouseDown
RadElement.MouseUp
RadElement.Click
RadElement.DoubleClick
RadElement.MouseEnter
RadElement.MouseWheel
RadElement.EnabledChanged
RadElement.MouseLeave
RadElement.ChildrenChanged
RadElement.LostMouseCapture
RadObject.BindingContextProperty
RadObject.RadType
RadObject.ClearPropertyStore()
RadObject.SuspendPropertyNotifications()
RadObject.ResumePropertyNotifications()
RadObject.GetPropertyValue(RadProperty)
RadObject.SetDefaultValueOverride(RadProperty, Object)
RadObject.SetValueAtDesignTime(RadProperty, Object)
RadObject.SetValue(RadProperty, Object)
RadObject.ResetValue(RadProperty)
RadObject.ResetLocalValue(RadProperty)
RadObject.ResetValue(RadProperty, ValueResetFlags)
RadObject.UpdateValue(RadProperty)
RadObject.GetValueSource(RadProperty)
RadObject.GetRegisteredRadProperty(String)
RadObject.UpdateValueCore(RadPropertyValue)
RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)
RadObject.GetDefaultValue(RadPropertyValue, Object)
RadObject.CoerceValue(RadPropertyValue, Object)
RadObject.ShouldSerializeProperty(PropertyDescriptor)
RadObject.ShouldSerializeProperty(RadProperty)
RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)
RadObject.UnbindProperty(RadProperty)
RadObject.RemoveStylePropertySetting(IPropertySetting)
RadObject.RemoveStylePropertySetting(RadProperty)
RadObject.GetInheritedValue(RadProperty)
RadObject.OnPropertyChanging(RadPropertyChangingEventArgs)
RadObject.OnNotifyPropertyChanged(String)
RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)
RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)
RadObject.PropertyValues
RadObject.IsDesignMode
RadObject.PropertyFilter
RadObject.RadObjectType
RadObject.BindingContext
RadObject.PropertyChanged
RadObject.RadPropertyChanged
RadObject.RadPropertyChanging
RadObject.ShouldSerializePropertyHandler
DisposableObject.GetBitState(Int64)
DisposableObject.SetBitState(Int64, Boolean)
DisposableObject.OnBitStateChanged(Int64, Boolean, Boolean)
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.DisposeUnmanagedResources()
DisposableObject.BitState
DisposableObject.Events
DisposableObject.IsDisposing
DisposableObject.IsDisposed
DisposableObject.Disposed
DisposableObject.Disposing
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.VirtualKeyboard
Assembly: Telerik.WinControls.UI.dll

Syntax

public class VirtualKeyboardLayout : BaseVirtualKeyboardLayout, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, IVirtualKeyboardLayout

Constructors

VirtualKeyboardLayout()

Initializes new instance of the VirtualKeyboardLayout class.

Declaration
public VirtualKeyboardLayout()

Properties

KeySpacing

Gets or sets the logical spacing between keys.

Declaration
public double KeySpacing { get; set; }
Property Value
System.Double

Rows

Gets the logical rows collection.

Declaration
public ObservableCollection<Row> Rows { get; }
Property Value
ObservableCollection<Row>

TotalColumnsCount

Gets the total number of logical columns.

Declaration
public override double TotalColumnsCount { get; }
Property Value
System.Double

Overrides
BaseVirtualKeyboardLayout.TotalColumnsCount

TotalRowsCount

Gets the total number of logical rows.

Declaration
public override double TotalRowsCount { get; }
Property Value
System.Double

Overrides
BaseVirtualKeyboardLayout.TotalRowsCount

Methods

AddEmptySpace(Double, Double)

Adds an empty space to the rows and children of VirtualKeyboardLayout.

Declaration
public virtual void AddEmptySpace(double width = 1, double height = 1)
Parameters
System.Double width

The logical width of the empty space.

System.Double height

The logical height of the empty space.

AddKey(Int32, KeyType, Double, Double, Boolean, Boolean)

Adds a key to the rows and children of VirtualKeyboardLayout.

Declaration
public virtual IKey AddKey(int virtualKeyCode, KeyType keyType, double width = 1, double height = 1, bool isSharpStyle = false, bool showSecondaryText = false)
Parameters
System.Int32 virtualKeyCode

The virtual key code.

KeyType keyType

The type of the key.

System.Double width

The logical width of key.

System.Double height

The logical height of key.

System.Boolean isSharpStyle

Indicates whether the key has more noticeable(sharp) style.

System.Boolean showSecondaryText

Indicates whether to show the secondary text element.

Returns
IKey

The added key.

AddKey(Keys, KeyType, Double, Double, Boolean, Boolean)

Adds a key to the rows and children of VirtualKeyboardLayout.

Declaration
public virtual IKey AddKey(Keys key, KeyType keyType, double width = 1, double height = 1, bool isSharpStyle = false, bool showSecondaryText = false)
Parameters
System.Windows.Forms.Keys key

The key.

KeyType keyType

The type of the key.

System.Double width

The logical width of key.

System.Double height

The logical height of key.

System.Boolean isSharpStyle

Indicates whether the key has more noticeable(sharp) style.

System.Boolean showSecondaryText

Indicates whether to show the secondary text element.

Returns
IKey

The added key.

AddKey(IKey)

Adds a IKey instance to the rows and children of VirtualKeyboardLayout.

Declaration
public virtual IKey AddKey(IKey key)
Parameters
IKey key

The key to be added.

Returns
IKey

The added key.

AddKey(Key)

Adds a Key instance to the rows and children of VirtualKeyboardLayout.

Declaration
public virtual IKey AddKey(Key key)
Parameters
Key key

The key to be added.

Returns
IKey

The added key.

AddKey(ToggleKey)

Adds a ToggleKey instance to the rows and children of VirtualKeyboardLayout.

Declaration
public virtual IKey AddKey(ToggleKey key)
Parameters
ToggleKey key

The toggle key to be added.

Returns
IKey

The added key.

AddKeyInternal(IKey)

Add a key to the VirtualKeyboardLayout.

Declaration
protected virtual IKey AddKeyInternal(IKey key)
Parameters
IKey key

The key to be added.

Returns
IKey

Exceptions
System.ArgumentException

If the key does not inherit from RadItem.

AddNewLine()

Adds a new line.

Declaration
public virtual void AddNewLine()

AddNumpadKey(Keys, String, Keys, String, Double, Double, Boolean, Font, Font)

Adds a numpad key to the rows and children of VirtualKeyboardLayout.

Declaration
public virtual IKey AddNumpadKey(Keys numLockActiveKeyCode, string activeKeyText, Keys alternateKeyCode, string alternateKeyText, double width = 1, double height = 1, bool sharpStyle = false, Font activeKeyFont = null, Font alternateKeyFont = null)
Parameters
System.Windows.Forms.Keys numLockActiveKeyCode

The virtual key code of active state.

System.String activeKeyText

The text in active state.

System.Windows.Forms.Keys alternateKeyCode

The virtual key code in alternate mode.

System.String alternateKeyText

The text in alternate state.

System.Double width

The logical width of key.

System.Double height

The logical height of key.

System.Boolean sharpStyle

Indicates whether the key has more noticeable(sharp) style.

System.Drawing.Font activeKeyFont

The font specified to the key element in active state.

System.Drawing.Font alternateKeyFont

The font specified to the key element in alternate state.

Returns
IKey

The added key.

AddSpecialKey(Int32, String, KeyType, Double, Double, Boolean, Font)

Adds a spacial key to the rows and children of VirtualKeyboardLayout.

Declaration
public virtual IKey AddSpecialKey(int virtualKeyCode, string displayText, KeyType keyType, double width = 1, double height = 1, bool isSharpStyle = false, Font font = null)
Parameters
System.Int32 virtualKeyCode

The virtual key code.

System.String displayText

The display text.

KeyType keyType

The type of the key.

System.Double width

The logical width of key.

System.Double height

The logical height of key.

System.Boolean isSharpStyle

Indicates whether the key has more noticeable(sharp) style.

System.Drawing.Font font

The font specified to the key element.

Returns
IKey

The added key.

AddSpecialKey(Keys, String, KeyType, Double, Double, Boolean, Font)

Adds a special key to the rows and children of VirtualKeyboardLayout.

Declaration
public virtual IKey AddSpecialKey(Keys key, string displayText, KeyType keyType, double width = 1, double height = 1, bool isSharpStyle = false, Font font = null)
Parameters
System.Windows.Forms.Keys key

The key.

System.String displayText

The display text.

KeyType keyType

The type of the key.

System.Double width

The logical width of key.

System.Double height

The logical height of key.

System.Boolean isSharpStyle

Indicates whether the key has more noticeable(sharp) style.

System.Drawing.Font font

The font specified to the key element.

Returns
IKey

The added key.

AddToggleKey(Int32, String, KeyType, Double, Double, Boolean)

Adds a toggle key to the rows and children of VirtualKeyboardLayout.

Declaration
public virtual IKey AddToggleKey(int virtualKeyCode, string displayText, KeyType keyType, double width = 1, double height = 1, bool isSharpStyle = false)
Parameters
System.Int32 virtualKeyCode

The virtual key code.

System.String displayText

The display text.

KeyType keyType

The type of the key.

System.Double width

The logical width of key.

System.Double height

The logical height of key.

System.Boolean isSharpStyle

Indicates whether the key has more noticeable(sharp) style.

Returns
IKey

The added key.

AddToggleKey(Keys, String, KeyType, Double, Double, Boolean)

Adds a toggle key to the rows and children of VirtualKeyboardLayout.

Declaration
public virtual IKey AddToggleKey(Keys key, string displayText, KeyType keyType, double width = 1, double height = 1, bool isSharpStyle = false)
Parameters
System.Windows.Forms.Keys key

The key.

System.String displayText

The display text.

KeyType keyType

The type of the key.

System.Double width

The logical width of key.

System.Double height

The logical height of key.

System.Boolean isSharpStyle

Indicates whether the key has more noticeable(sharp) style.

Returns
IKey

The added key.

ArrangeOverride(SizeF)

Arranges the VirtualKeyboardLayout to its final location. The element must call the Arrange method of each of its children.

Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF finalSize

The size that is available for element.

Returns
System.Drawing.SizeF

The rectangle occupied by the element. Usually finalSize. Should you return different size, the Layout system will restart measuring and rearranging the items. That could lead to infinite recursion.

Overrides
RadElement.ArrangeOverride(SizeF)
Remarks

In this method call to the Arrange method of each child must be made.

CreateDefaultNumpadLayout()

Creates a new instance of the VirtualKeyboardLayout class with added buttons for the default numpad keyboard group.

Declaration
public static VirtualKeyboardLayout CreateDefaultNumpadLayout()
Returns
VirtualKeyboardLayout

The created instance.

CreateExtendedKeyboardLayoutPanel(Boolean)

Creates a new instance of the VirtualKeyboardLayoutPanel class with added buttons for extended keyboard layout.

Declaration
public static VirtualKeyboardLayoutPanel CreateExtendedKeyboardLayoutPanel(bool includeFunctionKeys = true)
Parameters
System.Boolean includeFunctionKeys

A value indicating whether to include the function keys.

Returns
VirtualKeyboardLayoutPanel

CreateFKeysLayout(Boolean)

Creates a new instance of the VirtualKeyboardLayout class with added buttons for the function buttons keyboard group.

Declaration
public static VirtualKeyboardLayout CreateFKeysLayout(bool addEscapeKey = true)
Parameters
System.Boolean addEscapeKey

A value indicating whether to include the escape key.

Returns
VirtualKeyboardLayout

The created instance.

CreateHomeGroupLayout(Boolean)

Creates a new instance of the VirtualKeyboardLayout class with added buttons for the home buttons keyboard group.

Declaration
public static VirtualKeyboardLayout CreateHomeGroupLayout(bool addArrowKeys = true)
Parameters
System.Boolean addArrowKeys

A value indicating whether to include the arrow keys.

Returns
VirtualKeyboardLayout

The created instance.

CreateKeyFactory()

Creates a new object used for KeyFactory.

Declaration
protected virtual IKeyFactory CreateKeyFactory()
Returns
IKeyFactory

The new instance.

CreateMainButtonsKeyboardLayout(Boolean, Boolean)

Creates a new instance of the VirtualKeyboardLayout class with added buttons for the main buttons keyboard group.

Declaration
public static VirtualKeyboardLayout CreateMainButtonsKeyboardLayout(bool addEscapeKey = true, bool addArrowKeys = false)
Parameters
System.Boolean addEscapeKey

A value indicating whether to include the escape key on the first row.

System.Boolean addArrowKeys

A value indicating whether to include the arrow keys.

Returns
VirtualKeyboardLayout

The created instance.

CreateToggleKeyFactory()

Creates a new object used for ToggleKeyFactory.

Declaration
protected virtual IKeyFactory CreateToggleKeyFactory()
Returns
IKeyFactory

The new instance.

CreateTraditionalNumpadLayout()

Creates a new instance of the VirtualKeyboardLayout class with added buttons for the traditional numpad keyboard group.

Declaration
public static VirtualKeyboardLayout CreateTraditionalNumpadLayout()
Returns
VirtualKeyboardLayout

The created instance.

GetAllKeys()

Gets a list with all IKey instances in this object and its children.

Declaration
public override IList<IKey> GetAllKeys()
Returns
System.Collections.Generic.IList<IKey>

The IList with all keys.

Overrides
BaseVirtualKeyboardLayout.GetAllKeys()

GetAllRows()

Gets a list with all Row instances in this object and its children.

Declaration
public override IList<Row> GetAllRows()
Returns
System.Collections.Generic.IList<Row>

The IList with all rows.

Overrides
BaseVirtualKeyboardLayout.GetAllRows()

InitializeFields()

Initializes member fields to their default values. This method is called prior the CreateChildItems one and allows for initialization of members on which child elements depend.

Declaration
protected override void InitializeFields()
Overrides
BaseVirtualKeyboardLayout.InitializeFields()

MeasureOverride(SizeF)

Measures the space required by the VirtualKeyboardLayout

Used by the layout system.

Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF availableSize

The size that is available to the VirtualKeyboardLayout. The available size can be infinity (to take the full size of the element)

Returns
System.Drawing.SizeF

The minimum size required by the element to be completely visible. Cannot be infinity.

Overrides
RadElement.MeasureOverride(SizeF)
Remarks

In this method call to the Measure method of each child must be made.

ResetLayout()

Declaration
public override void ResetLayout()
Overrides
BaseVirtualKeyboardLayout.ResetLayout()

ShouldArrangeChild(RadElement)

Gets a value indicating, whether a child will be arranged during the ArrangeOverride.

Declaration
protected override bool ShouldArrangeChild(RadElement child)
Parameters
RadElement child

The child.

Returns
System.Boolean

Whether the child will be arranged in ArrangeOverride.

Overrides
RadElement.ShouldArrangeChild(RadElement)

UpdateKeysLayout()

Updates the logical bounds of keys.

Declaration
public void UpdateKeysLayout()

Extension Methods

CommonExtensions.ClearIfNoBindingAndSet(RadObject, RadProperty)
DispatcherExtensions.CheckAccess(RadObject)
CommonExtensions.SetIfDifferent(RadObject, RadProperty, Object)
CommonExtensions.ClearIfSet(RadObject, RadProperty)
CommonExtensions.IsLocalValueSet(RadObject, RadProperty)
DispatcherExtensions.CheckAccess(RadObject)
DispatcherExtensions.CheckAccess(RadObject)
DispatcherExtensions.CheckAccess(RadObject)
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.