Specifies whether a text field's text is checked on misspelled words. The default setting of this property is true.

Introduced: 16.0.

Syntax

public bool IsSpellCheckingEnabled { get; set; }
Public Property IsSpellCheckingEnabled() As Boolean

Examples

The following example uses the IsSpellCheckingEnabled property and sets its value to false. Now the text field's text will not be checked on misspelled words.

TXTextControl.TextField field = new TXTextControl.TextField("Product");

field.Name  = "product";
field.IsSpellCheckingEnabled = false;
textControl1.TextFields.Add(field);

foreach (TXTextControl.TextField curfield in textControl1.TextFields)
{
    if (curfield.Name == "product")
        curfield.Text = "TX Text Control";
}
Dim field As TXTextControl.TextField = New TXTextControl.TextField("Product")

field.Name = "product"
field.IsSpellCheckingEnabled = false
TextControl1.TextFields.Add(field)

For Each curField As TXTextControl.TextField In TextControl1.TextFields
    If curField.Name = "product" Then
       curField.Text = "TX Text Control"
    End If
Next