BorderStyle Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets the border style of the button bar.
Syntax
public ButtonBarBorderStyle BorderStyle { get; set; }Public Property BorderStyle As ButtonBarBorderStyleMembers
| Value | Description |
|---|---|
| ColorScheme | The 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. |
| Fixed3D | The button bar has a border with a single line and a 3D visual effect. |
| FixedSingle | The button bar has a border with a single line. |
| Flat | The button bar has no border. |
| Simple3D | The 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();buttonBar.BorderStyle = ButtonBarBorderStyle.Simple3D
buttonBar.Update()