TX Text Control .NET for WPF

DisplayColors Property

Property|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

Gets or sets the colors of the status bar. These colors are only used when the BorderStyle property has been set to ColorScheme. The property value is an object of the type WPF.StatusBarColors.

Syntax

public StatusBarColors DisplayColors { get; set; }

Examples

The following example uses StatusBar.DisplayColors to configure display colors as part of the status bar workflow. The configured value is checked before the workflow continues.

statusBar.DisplayColors = new TXTextControl.WPF.StatusBarColors();
if (statusBar.DisplayColors != null)
{
    Console.WriteLine("Status Bar: Display Colors is available.");
}