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 class StatusBarColors
Public Class StatusBarColors

Introduced: 16.0.

Examples

The following example shows WPF.StatusBarColors class. The colors are only used when the statusbar's BorderStyleproperty has been set to ColorScheme as shown below.

TXTextControl.WPF.StatusBarColors colors = new TXTextControl.WPF.StatusBarColors();

colors.BorderStyle = TXTextControl.StatusBarBorderStyle.ColorScheme;
colors.ForeColor   = System.Windows.Media.Color.White;
colors.FrameColor  = System.Windows.Media.Color.Black;
Dim colors As TXTextControl.WPF.StatusBarColors = New TXTextControl.WPF.StatusBarColors()

colors.BorderStyle = TXTextControl.StatusBarBorderStyle.ColorScheme
colors.ForeColor   = System.Windows.Media.Color.White
colors.FrameColor  = System.Windows.Media.Color.Black

Constructors

Constructor Description
StatusBarColors Initializes a new instance of the WPF.StatusBarColors class.

Properties

Property Description
BackColor Gets or sets the background color at the left edge of the status bar.
BackColorBottom Gets or sets the background color at the bottom of the status bar.
BackColorMiddle Gets or sets the background color in the middle of the status bar.
BackColorTop Gets or sets the background color at the top of the status bar.
ForeColor Gets or sets the color used for text and numbers.
FrameColor Gets or sets the color of the status bar's frames.
GradientBackColor Gets or sets the background color at the right edge of the status bar.
SeparatorColorDark Gets or sets the color of the dark part of a separator.
SeparatorColorLight Gets or sets the color of the light part of a separator.