TX Spell .NET for WPF

DialogButtonClicked Event

Event|Introduced in 3.0
Namespace
TXTextControl.WPF.Proofing
Package
TXTextControl.TXSpell.WPF.SDK as TXSpell.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Occurs when a dialog button of the built-in SpellCheckDialog is clicked. The DialogButtonHandler receives an argument of type DialogButtonEventArgs containing data related to this event.

Syntax

public event DialogButtonHandler DialogButtonClicked;

Examples

The following example records useful context when dialog button clicked occurs.

tXSpellChecker.DialogButtonClicked += (sender, e) =>
{
    Console.WriteLine($"Dialog Button Clicked at {DateTime.Now:u}");
};