SpellCheckDialogClosingEventArgs Class
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTXSpell. WinForms. SDK
- Assembly
TXSpell.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTXSpell. WinForms. SDK TXSpell.from the setup.Windows. Forms. dll
- Inherits
- Event
Args - Spell
Check Dialog Closing Event Args
- Event
Description
The SpellCheckDialogClosingEventArgs class provides data for the TXSpellChecker.SpellCheckDialogClosing event in TX Spell .NET for Windows Forms.
Syntax
public sealed class SpellCheckDialogClosingEventArgs : EventArgsPublic NotInheritable Class SpellCheckDialogClosingEventArgs
Inherits EventArgsExamples
The following example includes the cancel value from a Spell Check Dialog Closing Event Args object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Cancel: {spellCheckDialogClosingEventArgs.Cancel}");
Console.WriteLine("Spell Check Dialog Closing Event Args is ready for use.");Console.WriteLine($"Cancel: {spellCheckDialogClosingEventArgs.Cancel}")
Console.WriteLine("Spell Check Dialog Closing Event Args is ready for use.")Members
Properties
| Property | Description |
|---|---|
| Cancel | Gets or sets a value indicating whether the event is canceled or not. |
| CloseReason | Gets a value that indicates the reason of the closing. |
| StateManager | Gets the SpellCheckDialogStateManager which provides methods and properties to get or set the next object of type IncorrectWord or TXTextControl.MisspelledWord that is handled by the SpellCheckDialog. |