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