TX Spell .NET for Windows Forms

SpellCheckDialogClosing Event

Event|Introduced in 3.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK as TXSpell.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

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;

Examples

The following example records useful context when spell check dialog closing occurs.

tXSpellChecker.SpellCheckDialogClosing += (sender, e) =>
{
    Console.WriteLine($"Cancel: {e.Cancel}");
};