TX Text Control .NET for Windows Forms

DrawingDeactivated Event

Event|Introduced in 23.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

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;

Examples

The following example records useful context when drawing deactivated occurs.

textControl.DrawingDeactivated += (sender, e) =>
{
    Console.WriteLine($"Drawing Deactivated at {DateTime.Now:u}");
};