The SpellChecker component supports the following three modes of spell-checking:
Modes | Descriptions |
---|---|
Batch Mode | Use the CheckText, CheckWord, and GetSuggestions methods to check strings and get lists of errors and spelling suggestions. |
Dialog Mode | Use the CheckControl method to check the content of any Windows.Forms.TextBoxBase-derived controls using a modal dialog box. The C1SpellChecker will check the text and display a dialog box where the user can choose to correct or ignore each error. See the Built-in Spell Dialog Box topic for details. You can also check editors that do not derive from Windows.Forms.TextBoxBase. To do that, you have to create a wrapper class that implements the ISpellCheckableEditor interface. |
Dialog Mode | Set the extender property SpellCheck on any Windows.Forms.TextBoxBase-derived control to True, and the C1SpellChecker will monitor changes to the control. Any spelling mistakes will be indicated on the control by a red, wavy underline; right-clicking the errors will show a context menu with spelling suggestions. You can also provide as-you-type spelling support for editors that do not derive from Windows.Forms.TextBoxBase. To do that, you have to create a wrapper class that implements the ISpellCheckableRichEditor interface. |
In all three modes described above, the spell-checker follows rules that can be customized using the Options property. Options available include types of words to ignore (capitalization, numbers, URLs), whether to display suggestions in a context menu, the number of suggestions to display, and so on.