The StatusBar.Colors class gets, sets or resets the display colors of a Windows Forms 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 StatusBar.Colors
Public Class StatusBar.Colors

Introduced: 15.1.

Constructors

Constructor Description
Colors Initializes a new instance of the StatusBar.Colors class.

Methods

Method Description
ResetBackColor Resets the status bar's BackColor to its system dependent default value.
ResetBackColorBottom Resets the status bar's BackColorBottom to its system dependent default value.
ResetBackColorMiddle Resets the status bar's BackColorMiddle to its system dependent default value.
ResetBackColorTop Resets the status bar's BackColorTop to its system dependent default value.
ResetForeColor Resets the status bar's ForeColor to its system dependent default value.
ResetFrameColor Resets the status bar's FrameColor to its system dependent default value.
ResetGradientBackColor Resets the status bar's GradientBackColor to its system dependent default value.
ResetSeparatorColorDark Resets the status bar's SeparatorColorDark to its system dependent default value.
ResetSeparatorColorLight Resets the status bar's SeparatorColorLight to its system dependent default value.

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.