TX Spell .NET for WPF

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

Description

The DialogButtonEventArgs class provides data for the TXSpellChecker.DialogButtonClicked event in TX Spell .NET for WPF.

Syntax

public sealed class DialogButtonEventArgs : EventArgs

Examples

The following example includes the dialog button value from a Dialog Button Event Args object in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Dialog Button: {dialogButtonEventArgs.DialogButton}");
Console.WriteLine("Dialog Button Event Args is ready for use.");

Members

Properties

PropertyDescription
DialogButtonGets the clicked DialogButton.
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.