Changed Event
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.asTextControl. WinForms. SDK TXDrawing.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Indicates that the number or formatting of the displayed shapes has been changed. The event handler receives an argument of type EventArgs containing data related to this event.
Syntax
public event EventHandler Changed;Public Event Changed As EventHandlerExamples
The following example records useful context when changed occurs.
tXDrawingControl.Changed += (sender, e) =>
{
Console.WriteLine($"Changed at {DateTime.Now:u}");
};AddHandler tXDrawingControl.Changed,
Sub(sender, e)
Console.WriteLine($"Changed at {DateTime.Now:u}")
End Sub