TX Text Control .NET for WPF

TextFrameAppearanceChanged Event

Event|Introduced in 24.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Occurs when the appearance of a text frame (background color, transparency, border, inner margins) has been changed. The event handler receives an argument of type TextFrameEventArgs containing data related to this event.

Syntax

public event TextFrameEventHandler TextFrameAppearanceChanged;

Examples

The following example records useful context when text frame appearance changed occurs.

textControl.TextFrameAppearanceChanged += (sender, e) =>
{
    Console.WriteLine($"Text Frame Appearance Changed at {DateTime.Now:u}");
};