TX Spell .NET for WPF

SpellCheckDialogClosingEventArgs Class

Class|Introduced in 3.0
Namespace
TXTextControl.WPF.Proofing
Package
TXTextControl.TXSpell.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXSpell.WPF.dll
Install
dotnet add package TXTextControl.TXSpell.WPF.SDK .NET 8 and later. For .NET Framework, reference TXSpell.WPF.dll from the setup.
Inherits
  1. EventArgs
  2. SpellCheckDialogClosingEventArgs

Description

The SpellCheckDialogClosingEventArgs class provides data for the TXSpellChecker.SpellCheckDialogClosing event in TX Spell .NET for WPF.

Syntax

public sealed class SpellCheckDialogClosingEventArgs : EventArgs

Examples

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.");

Members

Properties

PropertyDescription
CancelGets or sets a value indicating whether the event is canceled or not.
StateManagerGets 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.