TX Text Control .NET Server

BorderStyle Property

Property|Introduced in 21.0
Namespace
TXTextControl.ServerVisualisation
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Server.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

Description

Gets or sets the border style of the ruler bar.

Syntax

public RulerBarBorderStyle BorderStyle { get; set; }

Members

ValueDescription
ColorSchemeThe 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.
FlatThe ruler bar has a flat design and no border.
FixedSingleThe ruler bar has has a flat design and a border with a single line.
Simple3DThe ruler bar has a 3D design and no border.
Fixed3DThe ruler bar has a 3D design and a border with a single line.

Examples

The following example uses RulerBarViewGenerator.BorderStyle to configure border style as part of the ruler bar view generator workflow. The configured value is checked before the workflow continues.

rulerBarViewGenerator.BorderStyle = RulerBarBorderStyle.Simple3D;
Console.WriteLine($"Border Style used by Ruler Bar View Generator: {rulerBarViewGenerator.BorderStyle}");