TX Text Control .NET for WPF

IsSpellCheckingEnabled Property

Property|Introduced in 16.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets a value indicating whether spell checking is active or not. If spell checking is enabled the WPF.TextControl.SpellCheckText event is raised when the text of a document changes. The event handler can be used to check the text on misspelled words.

Syntax

public bool IsSpellCheckingEnabled { get; set; }

Examples

The following example uses TextControl.IsSpellCheckingEnabled to enable spell checking for document text. The configured value is checked before the workflow continues.

textControl.IsSpellCheckingEnabled = true;
if (textControl.IsSpellCheckingEnabled)
{
    Console.WriteLine("Text Control: Is Spell Checking Enabled is enabled.");
}