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

TdxCustomRibbon.Tabs Property

Provides access to a collection of Ribbon tabs.

Declaration

property Tabs: TdxRibbonTabCollection read; write;

Property Value

Type
TdxRibbonTabCollection

Remarks

The Tabs collection contains tabs that are a part of the Ribbon. It stores tabs that were created at both design and run-time.

At design-time, Ribbon tabs can be added or removed from the Ribbon using the tab context menu. When coding, you can add a new tab at the end of the collection (see the Add method), or at a specified position (see the Insert method).

To obtain information on the total number of stored tabs, you can use the Ribbon’s TabCount property. Indexed access to an individual tab can be obtained via the Items property. It provides access to all Ribbon tabs regardless of whether tabs are currently visible in the control. To only obtain access to visible tabs, use the Ribbon’s VisibleTabs collection instead.

See Also