TX Text Control .NET for Windows Forms

ShapeSized Event

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

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;

Examples

The following example records useful context when shape sized occurs.

tXDrawingControl.ShapeSized += (sender, e) =>
{
    Console.WriteLine($"Shape Sized at {DateTime.Now:u}");
};