TX Text Control .NET for Windows Forms

ShapeFlipped 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 flipped. It occurs by using the shape's Flip property or sizing a shape manually by mouse in so far as the shape is flipped horizontally or vertically. The event handler receives an argument of type ShapeEventArgs containing data related to this event.

Syntax

public event ShapeEventHandler ShapeFlipped;

Examples

The following example records useful context when shape flipped occurs.

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