wpf-devexpress-dot-xpf-dot-ribbon-dot-ribbonpagecategorybase-99a4fda0.md
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
public Color Color { get; set; }
Public Property Color As Color
| Type | Description |
|---|---|
| Color |
A Color value that specifies the category’s color.
|
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
Caption="Selection"
Color="Yellow"
IsVisible="False">
See Also