SpellCheckDialogClosingEventArgs Class
- Namespace
TXTextControl.WPF. Proofing
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTXSpell. WPF. SDK
- Assembly
TXSpell.WPF. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTXSpell. WPF. SDK TXSpell.from the setup.WPF. 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 WPF.
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. |
| StateManager | Gets the SpellCheckDialogStateManager that provides methods and properties to get or set the next object of type IncorrectWord or TXTextControl.MisspelledWord that is handled by the SpellCheckDialog. |