Skip to main content
A newer version of this page is available. .

TdxCustomRibbon.Style Property

Specifies the Ribbon style.

Declaration

property Style: TdxRibbonStyle read; write; default rs2007;

Property Value

Type Default
TdxRibbonStyle rs2007

Remarks

Values include:

Value

Description

rs2019

Office 2019 Ribbon.

The style enables you to animate tab activation and customize backstage tabs’ appearance (set a glyph /image or separate tabs).

For this Ribbon style, we recommend that you disable Windows Aero effects for the Ribbon form. To accomplish this, handle the form’s OnCreate event and add the “DisableAero := True;” line to the event handler.

rs2016

Office 2016 Ribbon.

As with the Office 2019 Ribbon style (rs2019), this style supports the Tab Area Toolbar, and a background image for the Ribbon tab area and the Ribbon Form’s non-client area painted using the Ribbon.

For this Ribbon style, we recommend that you disable Windows Aero effects for the Ribbon form. To accomplish this, handle the form’s OnCreate event and add the “DisableAero := True;” line to the event handler.

rs2016Tablet

Office 2016 Mobile Ribbon available for tablets (also called Office 2016 Tablet Ribbon).

This style is a touch-oriented version of the Office 2016 Ribbon (rs2016) found in Microsoft Office Mobile for tablets. Unlike a traditional Ribbon, it includes only a single row of buttons. In addition, the Tablet Ribbon does not include multi-level popup menus – only one popup is displayed on screen at any point in time. If a user activates a submenu, it will appear within the same popup container and the window will adjust its size to properly fit its contents.

As with the Office 2019 and Office 2016 Ribbon styles (rs2019 and rs2016), this style supports a background image for the Ribbon tab area and the Ribbon Form’s non-client area painted using the Ribbon.

We recommend that you disable Windows Aero effects for the Ribbon form. To accomplish this, handle the form’s OnCreate event and add the “DisableAero := True;” line to the event handler. We also recommend that you enable the Touch mode for this Ribbon style to more closely emulate the Office Tablet Ribbon UI and improve the user experience on touch-enabled devices.

rs2013

Office 2013 Ribbon.

As with the Office 2019, Office 2016, and Office 2016 Tablet Ribbon styles (rs2019, rs2016, and rs2016Tablet), this style supports a background image for the Ribbon tab area and the Ribbon Form’s non-client area painted using the Ribbon.

We recommend that you disable Windows Aero effects for the Ribbon form. To accomplish this, handle the form’s OnCreate event and add the “DisableAero := True;” line to the event handler.

By default, this style capitalizes the Ribbon tab captions, similar to Microsoft Office® 2013 and Microsoft Office® Online. Use the CapitalizeTabCaptions property to change this behavior.

rs2010

Office 2010 Ribbon.

rs2007

Office 2007 Ribbon.

You can create Ribbon-style applications and Ribbon forms from scratch using the IDE templates shipped with the ExpressBars Suite. Refer to the Ribbon Application and Form IDE Templates topic for details.

The default value of the Style property is rs2007.

See Also