​
​
​

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.Colors

Examples

The following example shows the 'TXTextControl.Windows.Forms.Ribbon.Ribbon' class. Here, its 'DisplayColors' property is set to the value 'White'.

​TXTextControl.Windows.Forms.Ribbon.Ribbon ribbon = new TXTextControl.Windows.Forms.Ribbon.Ribbon();
ribbon.DisplayColors = System.Drawing.Color.White;
​Dim ribbon As TXTextControl.Windows.Forms.Ribbon.Ribbon = New TXTextControl.Windows.Forms.Ribbon.Ribbon()
ribbon.DisplayColors = System.Drawing.Color.White
​