Skip to main content

TdxRibbonContext Class

A Ribbon application context.

Declaration

TdxRibbonContext = class(
    TCollectionItem
)

Remarks

A Ribbon application context identifies Ribbon tabs that can be displayed only when a certain condition is met. If an application context is activated, Ribbon tabs associated with this context are displayed as contextual tabs.

The TdxRibbonContext class extends its ancestor class with members that allow you to:

  • Activate the application context within the Ribbon (Activate).

  • Specify the visibility and appearance of contextual tabs and a label (Visible and Color).

  • Specify the contextual tab label (Caption).

  • Access Ribbon tabs associated with the application context (Tabs).

Use the Ribbon’s Contexts zero-based indexed collection to access application contexts declared within the Ribbon.

Inheritance

See Also