StatusBarColors Class
- Namespace
TXTextControl.WPF
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXTextControl.WPF. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXTextControl.from the setup.WPF. dll
- Inherits
- ColorBase
- Status
Bar Colors
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 : ColorBasePublic NotInheritable Class StatusBarColors
Inherits ColorBaseExamples
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.");Dim statusBarColors As New TXTextControl.WPF.StatusBarColors()
Console.WriteLine("Status Bar Colors is ready for use.")Members
Constructors
| Constructor | Description |
|---|---|
| StatusBarColors | Initializes 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
| Property | Description |
|---|---|
| BackColor | Gets or sets the background color at the left edge of the status bar. This color is only used with the ColorScheme border style. |
| BackColorBottom | Gets or sets the background color at the bottom of the status bar. This color is only used with the VerticalColorScheme border style. |
| BackColorMiddle | Gets or sets the background color in the middle of the status bar. This color is only used with the VerticalColorScheme border style. |
| BackColorTop | Gets or sets the background color at the top of the status bar. This color is only used with the VerticalColorScheme border style. |
| 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. This color is only used with the VerticalColorScheme border style. |
| SeparatorColorLight | Gets or sets the color of the light part of a separator. This color is only used with the VerticalColorScheme border style. |