IsWordToCorrectEditing Property
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTXSpell. Core. SDK 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; }Public Property IsWordToCorrectEditing As BooleanExamples
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.");
}stateManager.IsWordToCorrectEditing = True
If stateManager.IsWordToCorrectEditing Then
Console.WriteLine("State Manager: Is Word To Correct Editing is enabled.")
End If