TX Text Control .NET for Windows Forms

ShapeAdjusted 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 adjusted by using its yellow adjust rectangle. The event handler receives an argument of type ShapeEventArgs containing data related to this event.

Syntax

public event ShapeEventHandler ShapeAdjusted;

Examples

The following example records useful context when shape adjusted occurs.

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