FormattingStyleListChanged Event
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. 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;Public Event FormattingStyleListChanged As EventHandlerExamples
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}");
};AddHandler textControl.FormattingStyleListChanged,
Sub(sender, e)
Console.WriteLine($"Formatting Style List Changed at {DateTime.Now:u}")
End Sub