ShapeSized Event
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.asTextControl. WinForms. SDK TXDrawing.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Occurs when a shape has been sized with the built-in mouse interface. The event handler receives an argument of type ShapeEventArgs containing data related to this event.
Syntax
public event ShapeEventHandler ShapeSized;Public Event ShapeSized As ShapeEventHandlerExamples
The following example records useful context when shape sized occurs.
tXDrawingControl.ShapeSized += (sender, e) =>
{
Console.WriteLine($"Shape Sized at {DateTime.Now:u}");
};AddHandler tXDrawingControl.ShapeSized,
Sub(sender, e)
Console.WriteLine($"Shape Sized at {DateTime.Now:u}")
End Sub