RibbonControl.RibbonStyle Property
Gets or sets the style of the RibbonControl.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v24.2.dll
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 |
Office2010 | Office2010 style |
Office2013 | Emulates the Microsoft Office 2013 UI and behavior, which includes modified BackstageViewControl, a Full-Screen Mode button and touch-input device mode support. |
MacOffice | MacOffice style. 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. |
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. |
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. |
Office365 | Office 365 style. |
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.