RulerColor Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. 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 Colors.RulerColor to configure ruler color as part of the colors workflow. The configured value is checked before the workflow continues.
colors.RulerColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Ruler Color used by Colors: {colors.RulerColor}");colors.RulerColor = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Ruler Color used by Colors: {colors.RulerColor}")