DrawingDeactivated Event
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Occurs when a drawing has been deactivated. The event handler receives an argument of type DrawingEventArgs containing data related to this event.
Syntax
public event DrawingEventHandler DrawingDeactivated;Public Event DrawingDeactivated As DrawingEventHandlerExamples
The following example records useful context when drawing deactivated occurs.
textControl.DrawingDeactivated += (sender, e) =>
{
Console.WriteLine($"Drawing Deactivated at {DateTime.Now:u}");
};AddHandler textControl.DrawingDeactivated,
Sub(sender, e)
Console.WriteLine($"Drawing Deactivated at {DateTime.Now:u}")
End Sub