TX Text Control .NET for Windows Forms

DisplayColors Property

Property|Introduced in 24.0
Namespace
TXTextControl.Windows.Forms.Ribbon
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 ribbon. The property value is an object of the type Windows.Forms.Ribbon.Ribbon.Colors.

Syntax

public Ribbon.Colors DisplayColors { get; set; }

Examples

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

ribbon.DisplayColors = new TXTextControl.Windows.Forms.Ribbon.Ribbon.Colors();
ribbon.Update();