​
​
​

Gets or sets the color of the ruler.

Syntax

​public Color RulerColor { get; set; }
​Public Property RulerColor As Color

Examples

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

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

rulerBarColors.RulerColor = TXTextControl.RulerBar.Colors.Yellow;
​Dim rulerBarColors As TXTextControl.RulerBar.Colors = New TXTextControl.RulerBar.Colors()

rulerBarColors.RulerColor = TXTextControl.RulerBar.Colors.Yellow
End Sub
​