RibbonControl.ColorScheme Property

Gets or sets the color applied to specific RibbonControl elements.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DXCategory("Appearance")]
[XtraSerializableProperty]
public RibbonControlColorScheme ColorScheme { get; set; }
<DXCategory("Appearance")>
<XtraSerializableProperty>
Public Property ColorScheme As RibbonControlColorScheme

Property Value

Type Description
RibbonControlColorScheme

A RibbonControlColorScheme enumerator value that specifies the color applied to specific RibbonControl elements.

Remarks

The ColorScheme property allows you to apply color variations to a RibbonControl. This property is in effect only for "Office 2010", "Office 2013", and "Office 2016" skins.

Ribbon Colorize - Overview

The color you choose is applied to different Ribbon elements, depending on the currently active skin. Affected Ribbon UI elements include:

This color affects only non-grayscale elements. For this reason, the ColorScheme property has the most drastic impact on the "Office 2016 Colorful" skin and is less noticeable in other skins.

The ColorScheme property has no effect on Ribbons with the "Office 2007" Ribbon style and overrides custom skin color settings (see the "Color Mixer" section of theSkins article).

TIP

The ColorScheme property affects all Ribbons in a project. If you want to colorize multiple Ribbons differently, add a BarAndDockingController component for each Ribbon, then set the UserLookAndFeel.UseDefaultLookAndFeel property of each component to false. Utilize the component's BarAndDockingControllerLookAndFeel.ColorScheme properties to specify unique color schemes for Ribbons associated with these BarAndDockingController components.

See Also