ForeColor Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. 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 StatusBarColors.ForeColor to set the status bar colors's foreground color. The configured value is checked before the workflow continues.
statusBarColors.ForeColor = System.Windows.Media.Colors.CornflowerBlue;
Console.WriteLine($"Fore Color used by Status Bar Colors: {statusBarColors.ForeColor}");statusBarColors.ForeColor = System.Windows.Media.Colors.CornflowerBlue
Console.WriteLine($"Fore Color used by Status Bar Colors: {statusBarColors.ForeColor}")