DialogButtonEventArgs 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 - Dialog
Button Event Args
- Event
Description
The DialogButtonEventArgs class provides data for the TXSpellChecker.DialogButtonClicked event in TX Spell .NET for WPF.
Syntax
public sealed class DialogButtonEventArgs : EventArgsPublic NotInheritable Class DialogButtonEventArgs
Inherits EventArgsExamples
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.");Console.WriteLine($"Dialog Button: {dialogButtonEventArgs.DialogButton}")
Console.WriteLine("Dialog Button Event Args is ready for use.")Members
Properties
| Property | Description |
|---|---|
| DialogButton | Gets the clicked DialogButton. |
| 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. |