TX Text Control .NET for Windows Forms

FormattingStyleListChanged Event

Event
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

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.

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