Cancel Property
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WinForms. SDK TXSpell.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.dll
Description
Get or sets a value indicating whether the changing operation for the current misspelled word should be canceled.
Syntax
public bool Cancel { get; set; }Public Property Cancel As BooleanExamples
The following example uses MisspelledWordChangingEventArgs.Cancel to configure cancel as part of the misspelled word changing event args workflow. The configured value is checked before the workflow continues.
misspelledWordChangingEventArgs.Cancel = true;
if (misspelledWordChangingEventArgs.Cancel)
{
Console.WriteLine("Misspelled Word Changing Event Args: Cancel is enabled.");
}misspelledWordChangingEventArgs.Cancel = True
If misspelledWordChangingEventArgs.Cancel Then
Console.WriteLine("Misspelled Word Changing Event Args: Cancel is enabled.")
End If