Skip to main content

RibbonControl.RibbonStyle Property

Gets or sets the style of the RibbonControl.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(RibbonControlStyle.Default)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public RibbonControlStyle RibbonStyle { get; set; }

Property Value

Type Default Description
RibbonControlStyle Default

A RibbonControlStyle enumeration value that specifies the paint style.

Available values:

Name Description
Default

The same as the RibbonControlStyle.Office2013 option. See Version Compatibility: Default Property Values.

Office2007

Office2007 style

RibbonStyle_Office2007

Office2010

Office2010 style

RibbonStyle_Office2010

Office2013

Emulates the Microsoft Office 2013 UI and behavior, which includes modified BackstageViewControl, a Full-Screen Mode button and touch-input device mode support.

Ribbon Control - Office2013

MacOffice

MacOffice style.

RibbonStyle_MacOffice

To display the Application Button in the MacOffice style, ensure that the RibbonControl.ShowApplicationButton property is set to True.

TabletOffice

The Ribbon style inspired by the UI found in Microsoft Office for iPad.

RibbonStyle_TabletOffice

TabletOfficeEx

Obsolete. This value is obsolete, use the OfficeUniversal style instead.

OfficeUniversal

The Ribbon style inspired by the ribbon UI introduced in Microsoft “Office Universal” apps.

RibbonStyle_OfficeUniversal

Office2019

Office 2019-inspired style. Features a flat appearance, tab animations (when the “Office 2019 Colorful”, “Office 2019 Black”, “Office 2019 White”, or “Office 2019 Dark Gray” vector skin is applied), and the capability to collapse into a single-row “Simplified” state.

ribbon2019

Office365

Office 365 style.

Ribbon Style - Office 365

Remarks

The RibbonStyle property affects how the RibbonControl’s elements are painted.

In version 16.2 and older, the RibbonControlStyle.Default value is equal to RibbonControlStyle.Office2007. Starting from version 17.1, the Default value is equivalent to RibbonControlStyle.Office2013.

See Also