DisplayColors Property
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. 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 ServerVisualization.RulerBarViewGenerator.Colors.
Syntax
public RulerBarViewGenerator.Colors DisplayColors { get; set; }Public Property DisplayColors As RulerBarViewGenerator.ColorsExamples
The following example uses RulerBarViewGenerator.DisplayColors to configure display colors as part of the ruler bar view generator workflow. The configured value is checked before the workflow continues.
rulerBarViewGenerator.DisplayColors = new TXTextControl.ServerVisualisation.RulerBarViewGenerator.Colors();
if (rulerBarViewGenerator.DisplayColors != null)
{
Console.WriteLine("Ruler Bar View Generator: Display Colors is available.");
}rulerBarViewGenerator.DisplayColors = New TXTextControl.ServerVisualisation.RulerBarViewGenerator.Colors()
If rulerBarViewGenerator.DisplayColors IsNot Nothing Then
Console.WriteLine("Ruler Bar View Generator: Display Colors is available.")
End If