TX Text Control .NET for Windows Forms

BorderStyle Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the border style of the button bar.

Syntax

public ButtonBarBorderStyle BorderStyle { get; set; }

Members

ValueDescription
ColorSchemeThe button bar has no border and a light to dark variation in background color. The colors depend on the color scheme currently set through the system or on the colors set with the DisplayColors property.
Fixed3DThe button bar has a border with a single line and a 3D visual effect.
FixedSingleThe button bar has a border with a single line.
FlatThe button bar has no border.
Simple3DThe button bar has a no border but a 3D visual effect.

Examples

The following example uses ButtonBar.BorderStyle to configure border style as part of the button bar workflow. The change is then applied to the active document or user interface.

buttonBar.BorderStyle = ButtonBarBorderStyle.Simple3D;
buttonBar.Update();