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 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 WPF.StatusBarColors.
Syntax
public StatusBarColors DisplayColors { get; set; }Public Property DisplayColors As StatusBarColorsExamples
The following example uses StatusBar.DisplayColors to configure display colors as part of the status bar workflow. The configured value is checked before the workflow continues.
statusBar.DisplayColors = new TXTextControl.WPF.StatusBarColors();
if (statusBar.DisplayColors != null)
{
Console.WriteLine("Status Bar: Display Colors is available.");
}statusBar.DisplayColors = New TXTextControl.WPF.StatusBarColors()
If statusBar.DisplayColors IsNot Nothing Then
Console.WriteLine("Status Bar: Display Colors is available.")
End If