RibbonControl.RibbonStyle Property
Gets or sets the style of the RibbonControl. This is a dependency property.
Namespace: DevExpress.Xpf.Ribbon
Assembly: DevExpress.Xpf.Ribbon.v24.1.dll
NuGet Package: DevExpress.Wpf.Ribbon
Declaration
Property Value
Type | Description |
---|---|
RibbonStyle | A RibbonStyle enumeration value that specifies the paint style. |
Available values:
Name | Description |
---|---|
Office2007 | A RibbonControl’s elements are painted in the Office2007 paint style. |
Office2010 | A RibbonControl’s elements are painted in the Office2010 paint style. |
TabletOffice | Style inspired by the Ribbon control in MS Office for iPad. |
OfficeSlim | The Ribbon style inspired by the ribbon UI introduced in Microsoft “Office Universal” apps. |
Office2019 | A RibbonControl’s elements are painted in the Office2017 paint style. |
Remarks
The RibbonStyle property allows you to choose a Ribbon paint style.
Office 2019 Style | |
Office 2010 Style | |
Office 2007 Style | |
Tablet Office | |
Office Slim |
If you want to get the Office 2019 style, Office 2010 style or Office 2007 style ribbon appearance, you should use the corresponding RibbonStyle and DevExpress Theme.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the RibbonStyle 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.