Back to Devexpress

RibbonPageCategoryBase.Color Property

wpf-devexpress-dot-xpf-dot-ribbon-dot-ribbonpagecategorybase-99a4fda0.md

latest2.2 KB
Original Source

RibbonPageCategoryBase.Color Property

Gets or sets the color that is used to paint the category’s caption and its pages. This is a dependency property.

Namespace : DevExpress.Xpf.Ribbon

Assembly : DevExpress.Xpf.Ribbon.v25.2.dll

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

csharp
public Color Color { get; set; }
vb
Public Property Color As Color

Property Value

TypeDescription
Color

A Color value that specifies the category’s color.

|

Remarks

The Color property specifies the color that is used to paint the category’s caption and its pages. This color is mixed with the background color.

Note

This property has no effect in Office 2019 DevExpress themes.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Color property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-create-a-ribboncontrol/CS/RibbonControl_Ex/MainWindow.xaml#L201

xml
Caption="Selection"
Color="Yellow"
IsVisible="False">

See Also

RibbonPageCategoryBase Class

RibbonPageCategoryBase Members

DevExpress.Xpf.Ribbon Namespace