[]
        
(Showing Draft Content)

C1.Win.SpellChecker.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)
Public Function GetActiveSpellChecking(textBox As TextBoxBase) As Boolean
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)
Public Function GetActiveSpellChecking(editor As ISpellCheckableRichEditor) As Boolean
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)
Public Function GetActiveSpellChecking(control As Control) As Boolean
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.