Closed 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 after the dialog box has been closed through clicking the Ok or Cancel button. The event handler receives an argument of type EventArgs containing data related to this event.
Syntax
public event EventHandler Closed;Public Event Closed As EventHandlerExamples
The following example records useful context when closed occurs.
dialogViewGenerator.Closed += (sender, e) =>
{
Console.WriteLine($"Closed at {DateTime.Now:u}");
};AddHandler dialogViewGenerator.Closed,
Sub(sender, e)
Console.WriteLine($"Closed at {DateTime.Now:u}")
End Sub