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