Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomRibbon.Tabs Property

Provides access to a collection of Ribbon tabs.

#Declaration

Delphi
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