DialogButtonClicked Event
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WinForms. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Occurs when a dialog button of the built-in SpellCheckDialog was clicked. The DialogButtonHandler receives an argument of type DialogButtonEventArgs containing data related to this event.
Syntax
public event DialogButtonHandler DialogButtonClicked;Public Event DialogButtonClicked As DialogButtonHandlerExamples
The following example records useful context when dialog button clicked occurs.
tXSpellChecker.DialogButtonClicked += (sender, e) =>
{
Console.WriteLine($"Dialog Button Clicked at {DateTime.Now:u}");
};AddHandler tXSpellChecker.DialogButtonClicked,
Sub(sender, e)
Console.WriteLine($"Dialog Button Clicked at {DateTime.Now:u}")
End Sub