TXTextControl.WPF.RulerBar.Colors Class

The WPF.RulerBarColors class gets, sets or resets the display colors of a WPF.RulerBar control. By default the display colors depend on sytem colors. With this class all colors can be individually designed. The colors are only used when the ruler bar's BorderStyle property has been set to ColorScheme.

Introduced: 16.0.

Syntax

[C#]
public class RulerBarColors
[Visual Basic]
Public Class RulerBarColors

Constructors

Constructor Description
Colors Initializes a new instance of the WPF.RulerBarColors class.

Properties

Property Description
WPF.RulerBarColors.BackColor Gets or sets the background color at the left or top edge of the ruler bar.
WPF.RulerBarColors.ForeColor Gets or sets the color used for the numbers of the ruler.
WPF.RulerBarColors.GradientBackColor Gets or sets the background color at the right or bottom edge of the ruler bar.
WPF.RulerBarColors.RulerColor Gets or sets the color of the ruler.
WPF.RulerBarColors.SeparatorColorDark Gets or sets the color of dark separators.
WPF.RulerBarColors.SeparatorColorLight Gets or sets the color of light separators.

See Also