Hello,
Is there anyway to enable Microsoft's WPF SpellCheck on the XamTextEditor? If not, are there any plans to support spell checking in the future?
Thanks
The WPF spell checking seems to be limited to TextBoxBase derived classes. That being said the xamTextEditor does use a TextBox within its EditTemplate so you could modify the template such that the SpellCheck.IsEnabled is set. The default styles ship with the product and are included in the DefaultStyles directory so you can use that as the basis for retemplating it.
Hello, I implemented a style that sets the SpellCheck.IsEnabled property and that makes spell check work as in I see the red lines, however when I right click on the word to bring up suggestions it doesn't open the context menu with word options like a regular WPF TextBox does. See image below. How do I get this context menu to come up for spell check help on XAMTextEditor.
Hello Kimberly,
Thank you for your post. I have been looking into it and I created a sample project for you following your scenario and everything seems to work ok on my side. In addition I can say that by default the WPF provides dictionaries for English, French, German, and Spanish. If you use another language here you can see how to add dictionary to the CustomDictionary collection:
http://msdn.microsoft.com/en-us/library/system.windows.controls.spellcheck(v=vs.110).aspx
I have set the SpellCheck.IsEnabled Property of the TextBox insode the EditTemplate to true. You can suggest a new Product Idea for adding an IsSpellCheckEnabled Property to the XamTextEditor here:
http://ideas.infragistics.com/
Can you tell me what you added to the Control Template that's different than the default control template to get it to work like that? I was hoping that I could just have a style that sets the attached property to turn on spell check on the text box but that didn't work. I'm trying to not completely overwrite the control template because we have themed controls that inherit from the xam controls.