[]
Sets whether the C1SpellChecker should highlight spelling mistakes as the user types on a given TextBoxBase.
public void SetActiveSpellChecking(TextBoxBase textBox, bool spellChecking)
Type | Name | Description |
---|---|---|
TextBoxBase | textBox | TextBoxBase that will be monitored for spelling mistakes. |
bool | spellChecking | True to provide as-you-type spell-checking to the |
Sets whether the C1SpellChecker should monitor a given ISpellCheckableRichEditor and highlight spelling mistakes.
public void SetActiveSpellChecking(ISpellCheckableRichEditor editor, bool spellChecking)
Type | Name | Description |
---|---|---|
ISpellCheckableRichEditor | editor | ISpellCheckableRichEditor that will be monitored for spelling mistakes. |
bool | spellChecking | True to provide as-you-type spell-checking to the |
The C1SpellChecker provides as-you-type spell-checking to controls based on the TextBoxBase.
To spell-check other editors, you must write a wrapper class that implements the ISpellCheckableRichEditor interface. This class provides the necessary connection between the C1SpellChecker and the editor.
Sets whether the C1SpellChecker should highlight spelling mistakes in a WebBrowser control.
public void SetActiveSpellChecking(WebBrowser browser, bool spellChecking)
Type | Name | Description |
---|---|---|
WebBrowser | browser | WebBrowser that will be monitored for spelling mistakes. |
bool | spellChecking | True to provide as-you-type spell-checking to the |
Sets whether the C1SpellChecker should highlight spelling mistakes in a WebBrowser control.
public void SetActiveSpellChecking(Control control, object activeXBrowser, bool spellChecking)
Type | Name | Description |
---|---|---|
Control | control | Control that will be monitored for spelling mistakes. |
object | activeXBrowser | IHtmlDocument2 interface that exposes the control contents. |
bool | spellChecking | True to provide as-you-type spell-checking to the |