TX Text Control .NET for WPF

StatusBarColors Class

Class|Introduced in 16.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.WPF.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.WPF.dll from the setup.
Inherits
  1. ColorBase
  2. StatusBarColors

Description

The WPF.StatusBarColors class gets, sets or resets the display colors of a WPF.StatusBar control. By default the display colors depend on sytem colors. With this class all colors can be individually designed. The colors are only used when the status bar's BorderStyle property has been set to ColorScheme.

Syntax

public sealed class StatusBarColors : ColorBase

Examples

The following example creates a Status Bar Colors instance for a document-processing operation. The created object is then available to the surrounding document workflow.

TXTextControl.WPF.StatusBarColors statusBarColors = new();
Console.WriteLine("Status Bar Colors is ready for use.");

Members

Constructors

ConstructorDescription
StatusBarColorsInitializes a new instance of the WPF.StatusBarColors class. After creating the object with this constuctor, individual colors can be set. If the Colors object is assigned to the WPF.StatusBar.DisplayColors property, non-set colors are reset to their system dependent default values.

Properties

PropertyDescription
BackColorGets or sets the background color at the left edge of the status bar. This color is only used with the ColorScheme border style.
BackColorBottomGets or sets the background color at the bottom of the status bar. This color is only used with the VerticalColorScheme border style.
BackColorMiddleGets or sets the background color in the middle of the status bar. This color is only used with the VerticalColorScheme border style.
BackColorTopGets or sets the background color at the top of the status bar. This color is only used with the VerticalColorScheme border style.
ForeColorGets or sets the color used for text and numbers.
FrameColorGets or sets the color of the status bar's frames.
GradientBackColorGets or sets the background color at the right edge of the status bar.
SeparatorColorDarkGets or sets the color of the dark part of a separator. This color is only used with the VerticalColorScheme border style.
SeparatorColorLightGets or sets the color of the light part of a separator. This color is only used with the VerticalColorScheme border style.