The list below describes recent changes and additions to MindFusion Virtual Keyboard:
You can define a sequence of keyboard layouts that can be cycled through by setting the LayoutRing property. Add LayoutRingKey to your layouts to let users cycle through the list. Layouts from this list are automatically assigned to TemplateLayout when user presses the LayoutRingKey, or if you call the SelectLayout method from code.
The KeyboardLayout class includes two new properties to control the appearance of the LayoutRingKey: Image and Label. One of these is displayed by the key to indicate the next layout in the 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.
This code from the LayoutRing sample project demonstrates how to load layouts and populate the LayoutRing:
C#
![]() |
---|
var lettersLayout = KeyboardLayout.Create("letters.xml"); virtualKeyboard.LayoutRing.Add(lettersLayout); virtualKeyboard.SelectLayout(0); |
The library now includes an SVG renderer, letting you load key icons from SVG files:
Xaml
![]() |
---|
xmlns:svg="http://mindfusion.eu/svg/wpf" |