DisplayColors 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 colors of the ruler bar. These colors are only used when the BorderStyle property has been set to ColorScheme. The property value is an object of the type WPF.RulerBarColors.
Syntax
public RulerBarColors DisplayColors { get; set; }Public Property DisplayColors As RulerBarColorsExamples
The following example uses RulerBar.DisplayColors to configure display colors as part of the ruler bar workflow. The configured value is checked before the workflow continues.
rulerBar.DisplayColors = new TXTextControl.WPF.RulerBarColors();
if (rulerBar.DisplayColors != null)
{
Console.WriteLine("Ruler Bar: Display Colors is available.");
}rulerBar.DisplayColors = New TXTextControl.WPF.RulerBarColors()
If rulerBar.DisplayColors IsNot Nothing Then
Console.WriteLine("Ruler Bar: Display Colors is available.")
End If