TX Spell .NET for WPF

SpellCheckDialogOpeningEventArgs 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. SpellCheckDialogOpeningEventArgs

Description

The SpellCheckDialogOpeningEventArgs class provides data for the TXSpellChecker.SpellCheckDialogOpening event in TX Spell for WPF.

Syntax

public sealed class SpellCheckDialogOpeningEventArgs : EventArgs

Examples

The following example includes the state manager value from a Spell Check Dialog Opening Event Args object in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"State Manager: {spellCheckDialogOpeningEventArgs.StateManager}");
Console.WriteLine("Spell Check Dialog Opening Event Args is ready for use.");

Members

Properties

PropertyDescription
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.