TX Text Control .NET for WPF

StatusBarColors Constructor

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

Description

Initializes a new instance of the WPF.StatusBarColors class. After creating the object with this constuctor, individual colors can be set. If the Colors object is assigned to the WPF.StatusBar.DisplayColors property, non-set colors are reset to their system dependent default values.

Syntax

public StatusBarColors();

Examples

The following example creates a Status Bar Colors instance for a document-processing operation. The created object is then available to the surrounding document workflow.

TXTextControl.WPF.StatusBarColors statusBarColors = new();
Console.WriteLine("Status Bar Colors is ready for use.");