TX Text Control .NET for Windows Forms

DisplayColors Property

Property|Introduced in 15.1
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 colors of the button bar. These colors are only used when the BorderStyle and ButtonStyle properties have been set to ColorScheme. The property value is an object of the type ButtonBar.Colors.

Syntax

public ButtonBar.Colors DisplayColors { get; set; }

Examples

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

buttonBar.DisplayColors = new ButtonBar.Colors();
buttonBar.Update();