Hi,
Thank you for your answer.
I'm currently using the v5.0.3 and still having trouble with this panel showing on top of keyboard.
Here an simplified extract of my view using the virtual keyboard assuming there is a Property KeyboardCustomLayout in the ViewModel.
Using the workaround (see comment in the code below), this panel is no more shown in any cases. Otherwise, the panel is visible until an hypotetical call on MindFusion.UI.Wpf.VirtualKeyboard.NativeMethods_CultureChanged().
Saddly the call on ShowSuggestionsPanel() in the VirtualKeyboard_Loaded() method is in my case "too early" because of the use of the tabcontrol. So the instruction
GetTemplateChild("PART_JKCStack")
is always returning null when loading the control and visibility stay as Visible when showing the control (until the hypotetical call on CultureChanged()).
A way to fix that should : call the ShowSuggesionsPanel on the render event (OnRender) of the control, not on the load event.
<WhatEverWindow x:Class="xxx.xxx.Views.MainWindowView"
...
xmlns:vk="http://mindfusion.eu/keyboard/wpf"
xmlns:views="clr-namespace:xxx.xxx.Views">
<TabControl>
<TabItem>
...
</TabItem>
<TabItem>
<TabItem.Header>
<Border Background="DarkGreen"></Border>
</TabItem.Header>
<vk:VirtualKeyboard Mode="Custom" TemplateLayout="{Binding KeyboardCustomLayout.Value, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=views:MainWindowView}}" >
<vk:VirtualKeyboard.Resources>
<Style TargetType="StackPanel"> <!--WORKAROUND TO COLLAPSE UNWANTED STACKPANEL-->
<Style.Triggers>
<Trigger Property="Name" Value="PART_JKCStack">
<Setter Property="Visibility" Value="Collapsed" />
</Trigger>
</Style.Triggers>
</Style>
</vk:VirtualKeyboard.Resources>
</vk:VirtualKeyboard>
</TabItem>
</TabControl>
</WhatEverWindow>
Thank you,
Guillaume