ForeColor Property
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. ASP. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. dll
Description
Gets or sets the color used for text and numbers.
Syntax
public Color ForeColor { get; set; }Public Property ForeColor As ColorExamples
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}");colors.ForeColor = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Fore Color used by Colors: {colors.ForeColor}")