Gets or sets the background color at the left or top edge of the ruler bar.

Syntax

public Color BackColor { get; set; }
Public Property BackColor As Color

Examples

The following example uses a BackColor property and sets its value to White.

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

rulerBarColors.BackColor = TXTextControl.RulerBar.Colors.White;
rulerBarColors.ForeColor = TXTextControl.RulerBar.Colors.Yellow;
Dim rulerBarColors As TXTextControl.RulerBar.Colors = New TXTextControl.RulerBar.Colors()

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

End Sub