TX Text Control .NET Server

ForeColor Property

Property|Introduced in 21.0
Namespace
TXTextControl.ServerVisualisation
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Server.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

Description

Gets or sets the color used for the numbers of the ruler.

Syntax

public Color ForeColor { get; set; }

Examples

The following example uses Colors.ForeColor to set the colors's foreground color. The configured value is checked before the workflow continues.

colors.ForeColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Fore Color used by Colors: {colors.ForeColor}");