ShapeFormatChanged Event
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.asTextControl. WPF. SDK TXDrawing.from the private NuGet feed or Text Control Offline Packagesdll
Description
Occurs when shape formatting attributes have been changed. The corresponding attributes are the shape's ShapeFill, ShapeOutline are Type properties. The event handler receives an argument of type ShapeEventArgs containing data related to this event.
Syntax
public event ShapeEventHandler ShapeFormatChanged;Public Event ShapeFormatChanged As ShapeEventHandlerExamples
The following example records useful context when shape format changed occurs.
tXDrawingCore.ShapeFormatChanged += (sender, e) =>
{
Console.WriteLine($"Shape Format Changed at {DateTime.Now:u}");
};AddHandler tXDrawingCore.ShapeFormatChanged,
Sub(sender, e)
Console.WriteLine($"Shape Format Changed at {DateTime.Now:u}")
End Sub