[]
        
(Showing Draft Content)

C1.Win.C1SpellChecker.C1SpellChecker.GetActiveSpellChecking

GetActiveSpellChecking Method

GetActiveSpellChecking(TextBoxBase)

Gets whether the C1SpellChecker should highlight spelling mistakes as the user types on a given TextBoxBase.

Declaration
public bool GetActiveSpellChecking(TextBoxBase textBox)
Parameters
Type Name Description
TextBoxBase textBox

TextBoxBase that will be monitored for spelling mistakes.

Returns
Type Description
bool

True if spell-checking is enabled for the given control, false otherwise.

GetActiveSpellChecking(ISpellCheckableRichEditor)

Gets whether the C1SpellChecker should highlight spelling mistakes as the user types on a given ISpellCheckableRichEditor.

Declaration
public bool GetActiveSpellChecking(ISpellCheckableRichEditor editor)
Parameters
Type Name Description
ISpellCheckableRichEditor editor

ISpellCheckableRichEditor that will be monitored for spelling mistakes.

Returns
Type Description
bool

True if spell-checking is enabled for the given control, false otherwise.

Remarks

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.

GetActiveSpellChecking(Control)

Gets whether the C1SpellChecker should highlight spelling mistakes as the user types on a given Control.

Declaration
public bool GetActiveSpellChecking(Control control)
Parameters
Type Name Description
Control control

Control that is monitored for spelling mistakes.

Returns
Type Description
bool

True if spell-checking is enabled for the given control, false otherwise.