Skip to main content

Ribbon Tab

  • 2 minutes to read

The Ribbon is comprised of tabs. Each tab contains bar items that allow end-users to accomplish a common task. To further categorize related bar items within a tab, items are organized into groups.

Tabs are represented by TdxRibbonTab objects that can be accessed via the Ribbon’s Tabs property. Our Ribbon implementation provides a comprehensive tab management API which is outlined below.

Aspect

Members

Description

Behavior

The Ribbon’s OnTabChanged and OnTabChanging events

Allows you to respond to tab selection.

Context

The tab’s Context property

Allows you to associate a tab with a certain application context. Once associated, the tab is displayed as a contextual tab.

KeyTip

The tab’s KeyTip property

Specifies the tab’s KeyTip.

Selection

The Ribbon’s ActiveTab or tab’s Active property

Allows you to activate a tab.

Tab Elements

The tab’s Groups property

The tab’s AddToolBar method and group’s ToolBar property

Allows you to manage groups within this tab.

Tab Header

The tab’s Caption property

Specifies the tab header’s caption.

Visibility

The Ribbon’s ShowTabGroups and ShowTabHeaders properties

The tab’s Visible property

Specify the visibility of tab pages, tab headers and individual tabs.

See Also