WPF的TextBox是否支持荷兰的拼写检查字典? [英] Does WPF's TextBox support spell-check dictionaries for the Netherlands?

查看:100
本文介绍了WPF的TextBox是否支持荷兰的拼写检查字典?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

RichTextBox支持非常好的拼写检查选项. (SpellCheck.IsEnabled = true)

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.. ;))

您有没有使用TextBox的SpellCheck选项的经验?

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):

  • 在当前线程上更改CurrentCulture.
  • 在"nl-NL"中的xaml中更改Language属性
  • 使用XmlLanguage.GetLanguage("nl-NL");
  • 更改代码中的Language属性
  • Changing the CurrentCulture on the current Thread.
  • Changing the Language property in xaml in "nl-NL"
  • Changing the Language property in code with the XmlLanguage.GetLanguage("nl-NL");

在下面的行中,您不会出现任何拼写错误:

You should not get any spelling errors with the following line:

"Dit是een Nederlandse tekst."

"Dit is een Nederlandse tekst."

我的语言的RFC 3066语言密钥是"nl-NL"

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

非常感谢, 里克

推荐答案

对WPF的拼写支持仅限于4种语言.英文,西班牙文,法文和德文.

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.

这篇关于WPF的TextBox是否支持荷兰的拼写检查字典?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆