Gets or sets the colors of the ruler bar. These colors are only used when the Border
Introduced: 15.1.
public RulerBar.Colors DisplayColors { get; set; }
Public Property DisplayColors As RulerBar.Colors
The following example uses the Display
TXTextControl.RulerBar rulerBar = new TXTextControl.RulerBar();
rulerBar.Alignment = TXTextControl.RulerBarAlignment.Top;
rulerBar.BorderStyle = TXTextControl.RulerBarBorderStyle.Flat;
rulerBar.FormulaMode = TXTextControl.RulerBarFormulaMode.Auto;
rulerBar.DisplayColors = TXTextControl.RulerBar.Colors.White;
Dim rulerBar As TXTextControl.RulerBar = New TXTextControl.RulerBar()
rulerBar.Alignment = TXTextControl.RulerBarAlignment.Top
rulerBar.BorderStyle = TXTextControl.RulerBarBorderStyle.Flat
rulerBar.FormulaMode = TXTextControl.RulerBarFormulaMode.Auto
rulerBar.DisplayColors = TXTextControl.RulerBar.Colors.White
End Sub