vcl-dxribbon-dot-tdxcustomribbon.md
Specifies the Ribbon UI style.
property Style: TdxRibbonStyle read; write; default rs2007;
| Type | Default | Description |
|---|---|---|
| TdxRibbonStyle | rs2007 |
The active Ribbon UI style.
|
The Ribbon control allows you to create a UI that imitates the Ribbon UI found in different versions of Microsoft Office® products. Different Ribbon styles significantly change the Ribbon control’s appearance and behavior.
rsOffice365 rs2016Tablet rs2007 (default)
Refer to the TdxRibbonStyle type description for detailed information on all available options.
Tip
The ExpressBars library ships with a Ribbon-based application template that creates a new application project with a form derived from the TdxRibbonForm class. The new form has a preconfigured TdxSkinController component and an embedded TdxRibbon control with one tab.
Refer to the TdxRibbonForm class description for details.
The Ribbon control has a compact (simplified) layout when one of the following conditions is met:
Style property is set to rs2016Tablet.Style and Layout properties are set to rsOffice365 and TdxRibbonLayout.Simplified, respectively.A compact Ribbon layout contains only one row of buttons and does not include multi-level drop-down menus. If a user activates a submenu, it appears in the same drop-down container.
A compact Ribbon layout displays only those UI elements whose corresponding item links include ivlSmallIconWithText and ivlSmallIcon flags in the ViewLevels property value.
Tip
You can use a bar item’s Glyph property to load an icon to mark the bar item in a compact Ribbon layout.
The Ribbon Form hides or displays the application icon depending on the Style property if the ShowFormIcon property is set to bDefault:
rsOffice365 | rs2013 | rs2010The application icon is visible.rs2007 | rs2016 | rs2016Tablet | rs2019The application icon is hidden.
The Style property’s default value is rs2007.
Note
The Style property value is rsOffice365 for a TdxRibbon control created at design time. The Ribbon-Based Application Template can create a TdxRibbon control with any initial Style property value.
See Also