ShowDialogBox Event
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. dll
Description
Occurs when a dialog box should be shown. The event handler receives an argument of type ServerVisualization.ShowDialogBoxEventArgs containing data related to this event.
Syntax
public event ShowDialogBoxEventHandler ShowDialogBox;Public Event ShowDialogBox As ShowDialogBoxEventHandlerExamples
The following example records useful context when show dialog box occurs.
textViewGenerator.ShowDialogBox += (sender, e) =>
{
Console.WriteLine($"Show Dialog Box at {DateTime.Now:u}");
};AddHandler textViewGenerator.ShowDialogBox,
Sub(sender, e)
Console.WriteLine($"Show Dialog Box at {DateTime.Now:u}")
End Sub