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