Jonathan Escobedo
Jonathan Escobedo

Reputation: 4063

About WPF RichTextBox with Spellchecker enabled

SpellCheck.IsEnabled="True"

...property in a wpf application, it works in machines with S.O Windows XP and with Office 2007, but whats the matter with Pc with Office 2003? it seems the spellchecker is disabled, this issue can be fixed with code? thanks in advance!

Upvotes: 0

Views: 382

Answers (1)

user7116
user7116

Reputation: 64148

Check to make sure both machines are in the same (or a supported locale), because an interesting problem with the SpellCheck object is it only works in the following locales:

  • English
  • French
  • German
  • Spanish

You can also try this block of code from Microsoft:

textBox1.Language =
    XmlLanguage.GetLanguage(CultureInfo.CurrentCulture.IetfLanguageTag);

Upvotes: 2

Related Questions