ComponentOne SpellChecker for WPF and Silverlight
Using the Built-In Dialog Box
Working with C1SpellChecker > Dialog Boxes > Using the Built-In Dialog Box

To use the built-in dialog box, call the CheckControlAsync method.

The built-in dialog box has built-in localization with support for seven languages. The localization is controlled by the SpellOptions.DialogLanguage property. The default setting, Automatic, causes the dialog box to use the language that corresponds to the CultureInfo.CurrentCulture property. You can override that with code like the following:

C#
Copy Code
  SpellOptions options = c1SpellChecker1.Options;
  options.DialogLanguage = DialogLanguage.German;

Here is the German version of the built-in dialog box:

Note that the dialog box language matches the application language and is independent of the current dictionary language. This allows you to write an English application and use it to check German text for example.

See Also