TX Text Control .NET Server

DisplayColors Property

Property|Introduced in 21.0
Namespace
TXTextControl.ServerVisualisation
Package
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.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 ServerVisualization.StatusBarViewGenerator.Colors.

Syntax

public StatusBarViewGenerator.Colors DisplayColors { get; set; }

Examples

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

statusBarViewGenerator.DisplayColors = new TXTextControl.ServerVisualisation.StatusBarViewGenerator.Colors();
if (statusBarViewGenerator.DisplayColors != null)
{
    Console.WriteLine("Status Bar View Generator: Display Colors is available.");
}