TX Text Control .NET for Windows Forms

ButtonStyle 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 painting style of the buttons.

Syntax

public ButtonStyle ButtonStyle { get; set; }

Members

ValueDescription
ColorSchemePaints the button bar's buttons with a light to dark variation in color. The colors depend on the color scheme currently set through the system or on the colors set with the DisplayColors property.
FlatButtonsPaints the button bar's buttons without visual effects.
ThreeDimensionalButtonsPaints the button bar's buttons with 3D effects.
XPButtonsPaints the button bar's buttons in Windows XP look.

Examples

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

buttonBar.ButtonStyle = ButtonStyle.ThreeDimensionalButtons;
buttonBar.Update();