TX Spell .NET for Windows Forms

CloseReason Property

Property|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

Gets a value that indicates the reason of the closing.

Syntax

public CloseReason CloseReason { get; }

Examples

The following example includes the close reason value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Close Reason: {spellCheckDialogClosingEventArgs.CloseReason}");
Console.WriteLine("Spell Check Dialog Closing Event Args is ready for use.");

Limitations

Read only.