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

TdxRibbonContext Class

A Ribbon application context.

#Declaration

Delphi
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