The RichTextBox supports a spellcheck option which is very nice. (SpellCheck.IsEnabled = true)
But I cannot seem to get it to another language. (I live in the Netherlands.. ;))
Does any of you have an experience with the SpellCheck option of TextBox?
I know it can be change by changing the keyboard settings, but I want to change it in the application.
What I have tried so far (and did not work):
XmlLanguage.GetLanguage("nl-NL");
You should not get any spelling errors with the following line:
"Dit is een Nederlandse tekst."
The RFC 3066 language key of my language is "nl-NL"
Many thanks, Rick
Spelling support for WPF is limited to just 4 languages; English, Spanish, French, and German.
Using a custom dictionary will only add "special words" to the current dictionary. It will not allow a new language dictionary.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With