So I am having issues with the textboxes on child windows and spell check. I have a variety of child windows and each one of them has one or more text boxes with spellcheck enabled. The highlighting for the spell check works, as well as the context menus for suggestions. The problem is, that when I click any of the suggestions, the textbox does not replace the misspelled word. This only happens to textboxes inside of ChildWindows. I broke it down the most simple implementation, as a test and even this has the same issue.
Is there something missing that I need to be doing to get this to work? Is this a bug?
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="MyProject.TestWindow"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
Title="TestWindow" Height="300" Width="300">
<Grid>
<TextBox SpellCheck.IsEnabled="True" />
<xctk:WindowContainer>
<xctk:ChildWindow WindowState="Open">
<TextBox SpellCheck.IsEnabled="True" />
</xctk:ChildWindow>
</xctk:WindowContainer>
</Grid>
</Window>
In the above test, the spellcheck context menu on the grid works properly and replaces the corrected words. Inside the window however, the change from the menu is not saved and the word remains incorrect.Is there something missing that I need to be doing to get this to work? Is this a bug?