CloseReason Property
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WinForms. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets a value that indicates the reason of the closing.
Syntax
public CloseReason CloseReason { get; }Public ReadOnly Property CloseReason As CloseReasonExamples
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.");Console.WriteLine($"Close Reason: {spellCheckDialogClosingEventArgs.CloseReason}")
Console.WriteLine("Spell Check Dialog Closing Event Args is ready for use.")Limitations
Read only.