Search
LayoutRingKey Class
Remarks See Also
 






Represents a key that cycles through the available keyboard layouts.

Namespace: MindFusion.UI.Wpf
Assembly: MindFusion.Keyboard.Wpf

 Syntax

C#  Copy Code

public class LayoutRingKey : Key

Visual Basic  Copy Code

Public Class LayoutRingKey
    Inherits Key

 Remarks

Pressing this key cycles through the layouts assigned to keyboard's LayoutRing property. The key's default appearance is determined by the properties of the *next* layout in the LayoutRing cycle, following this priority:

1.  If the next layout has a non-null / empty Image property, that image is displayed.
2.  If there is no Image assigned to the layout, but the Label property is set, that text is displayed as key's Content.
3.  If neither Image nor Label is set, the key will display the Unicode keyboard symbol (U+2328) as a fallback.

You can change these rules by setting a custom Xaml data template for the LayoutRingKey type.

 Inheritance Hierarchy

System.Object
    MindFusion.UI.Wpf.Key
        MindFusion.UI.Wpf.LayoutRingKey

 See Also