SpellCheckDialogClosing Event
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WinForms. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Occurs when the built-in spell check dialog is closing. The SpellCheckDialogClosingHandler receives an argument of type SpellCheckDialogClosingEventArgs containing data related to this event.
Syntax
public event SpellCheckDialogClosingHandler SpellCheckDialogClosing;Public Event SpellCheckDialogClosing As SpellCheckDialogClosingHandlerExamples
The following example records useful context when spell check dialog closing occurs.
tXSpellChecker.SpellCheckDialogClosing += (sender, e) =>
{
Console.WriteLine($"Cancel: {e.Cancel}");
};AddHandler tXSpellChecker.SpellCheckDialogClosing,
Sub(sender, e)
Console.WriteLine($"Cancel: {e.Cancel}")
End Sub