DisplayColors Property
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
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; }Public Property DisplayColors As Ribbon.ColorsExamples
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();ribbon.DisplayColors = New TXTextControl.Windows.Forms.Ribbon.Ribbon.Colors()
ribbon.Update()