TX Spell .NET for Windows Forms

IsWordToCorrectEditing Property

Property|Introduced in 6.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK as TXSpell.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TXSpell.Core.SDK as TXSpell.dll

Description

Gets or sets a value whether the current state of the SpellingCorrectionUIProvider is set to WordToCorrectEditing. Setting this property is only enabled if the CurrentWordToCorrect property is not null.

Syntax

public bool IsWordToCorrectEditing { get; set; }

Examples

The following example uses StateManager.IsWordToCorrectEditing to configure is word to correct editing as part of the state manager workflow. The configured value is checked before the workflow continues.

stateManager.IsWordToCorrectEditing = true;
if (stateManager.IsWordToCorrectEditing)
{
    Console.WriteLine("State Manager: Is Word To Correct Editing is enabled.");
}