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

Syntax

public Color ForeColor { get; set; }

Examples

The following example uses a ForeColor property and sets its value to Yellow.

TXTextControl.RulerBar.Colors  rulerBarColors = new TXTextControl.RulerBar.Colors();

rulerBarColors.BackColor = TXTextControl.RulerBar.Colors.White;
rulerBarColors.ForeColor = TXTextControl.RulerBar.Colors.Yellow;