ShapeFlipped Event
- Namespace
TXTextControl.WPF. Drawing
- Package
TXTextControl.asTextControl. WPF. SDK TXDrawing.from the private NuGet feed or Text Control Offline PackagesWPF. dll
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;Public Event ShapeFlipped As ShapeEventHandlerExamples
The following example records useful context when shape flipped occurs.
tXDrawingControl.ShapeFlipped += (sender, e) =>
{
Console.WriteLine($"Shape Flipped at {DateTime.Now:u}");
};AddHandler tXDrawingControl.ShapeFlipped,
Sub(sender, e)
Console.WriteLine($"Shape Flipped at {DateTime.Now:u}")
End Sub