Gets or sets the border style of the ruler bar.
Introduced: 11.0.
public RulerBarBorderStyle BorderStyle { get; set; }
Public Property BorderStyle As RulerBarBorderStyle
Member | Description |
---|---|
Color |
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 Display |
Flat | The ruler bar has a flat design and no border. |
Fixed |
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. |
The following example uses Border
TXTextControl.RulerBar rulerBar = new TXTextControl.RulerBar();
rulerBar.Alignment = TXTextControl.RulerBarAlignment.Top;
rulerBar.BorderStyle = TXTextControl.RulerBarBorderStyle.Flat;
Dim rulerBar As TXTextControl.RulerBar = New TXTextControl.RulerBar()
rulerBar.Alignment = TXTextControl.RulerBarAlignment.Top
rulerBar.BorderStyle = TXTextControl.RulerBarBorderStyle.Flat
End Sub