Delete Method
- 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
Deletes the current word to correct.
Syntax
public void Delete();Public Sub Delete()Examples
The following example uses Delete in a focused Correction Handler workflow. The created object is then available to the surrounding document workflow.
correctionHandler.Delete();
Console.WriteLine("Correction Handler is ready for use.");correctionHandler.Delete()
Console.WriteLine("Correction Handler is ready for use.")Remarks
This method is only enabled if the SpellingCorrectionUIProvider's mode is set to SuggestionsCreated, NoSuggestionsCreated or WordToCorrectIsDuplicate.