A newer version of this page is available. Switch to the current version.

RibbonControl.RibbonStyle Property

Gets or sets the style of the RibbonControl.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(RibbonControlStyle.Default)]
[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 API is obsolete now.

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” vector skin is applied), and the capability to collapse into a single-row “Simplified” state.

ribbon2019

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