Does WPF TextBox support check verification dictionaries for the Netherlands?

RichTextBox supports the spell check option, which is very nice. (SpellCheck.IsEnabled = true)

But I can not imagine it in another language. (I live in the Netherlands ..;))

Do any of you have experience using the SpellCheck option for a TextBox?

I know that this can be a change by changing the keyboard settings, but I want to change it in the application.

What I tried so far (and did not work):

  • Change CurrentCulture on the current thread.
  • Changing language property in xaml to "nl-nl"
  • Change the language property in the code using XmlLanguage.GetLanguage("nl-NL");

You should not receive spelling errors with the following line:

"Dit is een Nederlandse tekst."

The language key RFC 3066 of my language is "nl-NL"

Thanks a lot, Rick

+4
source share
2 answers

This link indicates that your language is not one of the 4 languages ​​supported by SpellCheck: http://www.dev102.com/2008/03/25/customize-spellcheck-on-wpf-text-controls/

I don’t know why they limited it to only four languages. My initial search did not find a workaround. :-(

+5
source

WPF support spelling is limited to only 4 languages; English, Spanish, French and German.

Using a custom dictionary will only add “special words” to the current dictionary. This will not allow the new language dictionary.

0
source

All Articles