WPF Spell Checker Overview
- 2 minutes to read
Included Components
Spell Checker is represented by three instances:
- SpellChecker - basic spell checking component;
- RichEditSpellChecker - spell-checking functionality in XAML for the RichEditControl;
- DXSpellChecker - spell-checking functionality in XAML for other text editors.
Main Features
The table below lists features available for Spell Checker components.
| Parameters | SpellChecker | RichEditSpellChecker | DXSpellChecker |
|---|---|---|---|
| Supported Editors | TextBox RichTextBox TextEdit MemoEdit RichEditControl |
RichEditControl | TextBox RichTextBox TextEdit MemoEdit |
| Supported Dictionaries | Simple, ISpell, OpenOffice, Hunspell, Custom | ISpell, OpenOffice, Hunspell, Custom | ISpell, OpenOffice, Hunspell, Custom |
| Available in Code-Behind | Yes (Example) |
No | No |
| Check-As-You-Type Mode | Yes (Example) |
Yes (Example) |
Yes (Example) |
| Custom Controls Registration | Yes (Example) |
No | No |
Product Class Structure
Use the following links to access reference information about the most important classes in the Spell Checker.
| Class | Description |
|---|---|
| SpellChecker | Represents the base component of the Spell Checker. |
| RichEditSpellChecker | Allows you to implement the spell checking functionality for the RichEditControl in XAML. |
| DXSpellChecker | Allows you to implement the spell checking functionality for the text controls in XAML. |
| SpellCheckerDictionary | Represents a dictionary used by the XtraSpellChecker engine. |
| SpellCheckerISpellDictionary | Represents an XtraSpellChecker dictionary originated from a dictionary in the ISpell format. |
| SpellCheckerISpellDictionaryExtension | An extension instance implementing the SpellCheckerISpellDictionary functionality in XAML. |
| SpellCheckerOpenOfficeDictionary | Represents an XtraSpellChecker dictionary originated from a dictionary and affix files of the OpenOffice.org project format. |
| SpellCheckerOpenOfficeDictionaryExtension | An extension instance implementing the SpellCheckerOpenOfficeDictionary functionality in XAML. |
| HunspellDictionary | A dictionary for the Hunspell spell checking algorithm. |
| HunspellDictionaryExtension | An extension instance implementing the HunspellDictionary functionality in XAML. |
| SpellCheckerCustomDictionary | Represents a custom dictionary of the spell checker. |
| SpellCheckerCustomDictionaryExtension | An extension object implementing the SpellCheckerCustomDictionary functionality in XAML. |
| SpellCheckerISpellDictionaryExtension | An extension instance implementing the SpellCheckerISpellDictionary functionality in XAML. |
| OptionsSpelling | Contains options that affect text processing. |
| SpellingExtensions | A base class for spell check extension methods. |