TX Text Control .NET Server

FormattingStyleListChanged Event

Event|Introduced in 29.0
Namespace
TXTextControl.ServerVisualisation
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Server.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

Description

Occurs after one or more formatting styles have been added or removed or if the name of an existing style has been changed. The event handler receives an argument of type EventArgs containing data related to this event.

Syntax

public event EventHandler FormattingStyleListChanged;

Examples

The following example records useful context when formatting style list changed occurs.

textViewGenerator.FormattingStyleListChanged += (sender, e) =>
{
    Console.WriteLine($"Formatting Style List Changed at {DateTime.Now:u}");
};