RulerColor Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets or sets the color of the ruler.
Syntax
public Color RulerColor { get; set; }Public Property RulerColor As ColorExamples
The following example uses RulerBarColors.RulerColor to configure ruler color as part of the ruler bar colors workflow. The configured value is checked before the workflow continues.
rulerBarColors.RulerColor = System.Windows.Media.Colors.CornflowerBlue;
Console.WriteLine($"Ruler Color used by Ruler Bar Colors: {rulerBarColors.RulerColor}");rulerBarColors.RulerColor = System.Windows.Media.Colors.CornflowerBlue
Console.WriteLine($"Ruler Color used by Ruler Bar Colors: {rulerBarColors.RulerColor}")