Skip to main content

TdxRibbonTabCollection Class

A collection of Ribbon tabs.

Declaration

TdxRibbonTabCollection = class(
    TcxComponentCollection
)

Remarks

The TdxRibbonTabCollection collection contains tabs that are a part of the Ribbon. It stores tabs that were created both at design and runtime.

At design time, Ribbon tabs can be added or removed from the Ribbon using the tab set’s 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 or not tabs are currently visible in the control. To only obtain access to visible tabs, use the Ribbon’s VisibleTabs collection instead.

The TdxRibbonTabCollection object is referenced by the Ribbon’s Tabs property.

Inheritance

See Also