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 the numbers of the ruler.
Syntax
public Color ForeColor { get; set; }Public Property ForeColor As ColorExamples
The following example uses RulerBarColors.ForeColor to set the ruler bar colors's foreground color. The configured value is checked before the workflow continues.
rulerBarColors.ForeColor = System.Windows.Media.Colors.CornflowerBlue;
Console.WriteLine($"Fore Color used by Ruler Bar Colors: {rulerBarColors.ForeColor}");rulerBarColors.ForeColor = System.Windows.Media.Colors.CornflowerBlue
Console.WriteLine($"Fore Color used by Ruler Bar Colors: {rulerBarColors.ForeColor}")