BorderStyle 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 border style of the status bar.
Syntax
public StatusBarBorderStyle BorderStyle { get; set; }Public Property BorderStyle As StatusBarBorderStyleMembers
| Value | Description |
|---|---|
| ColorScheme | The status bar has a flat design without a border and with a horizontal color gradient in the background. The colors depend on the color scheme currently set through the system or on the colors set with the DisplayColors property. |
| Flat | The status bar has a flat design and no border. |
| FixedSingle | The status bar has a flat design and a border with a single line. |
| Simple3D | The status bar has a 3D design and no border. |
| Fixed3D | The status bar has a 3D design and a border with a single line. |
| VerticalColorScheme | The status bar has a flat design without a border and with a horizontal color gradient in the background. The colors depend on the color scheme currently set through the system or on the colors set with the DisplayColors property. |
Examples
The following example uses StatusBar.BorderStyle to configure border style as part of the status bar workflow. The configured value is checked before the workflow continues.
statusBar.BorderStyle = StatusBarBorderStyle.Fixed3D;
Console.WriteLine($"Border Style used by Status Bar: {statusBar.BorderStyle}");statusBar.BorderStyle = StatusBarBorderStyle.Fixed3D
Console.WriteLine($"Border Style used by Status Bar: {statusBar.BorderStyle}")