TX Spell .NET for WPF

Cancel Method

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

Description

Resets the SpellingCorrectionUIProvider to the InitialState.

Syntax

public void Cancel();

Examples

The following example uses Cancel in a focused State Manager workflow. The created object is then available to the surrounding document workflow.

stateManager.Cancel();
Console.WriteLine("State Manager is ready for use.");