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

TdxRibbonTabGroup.Restriction Property

Allows you to prohibit the tab group from expanding and/or collapsing.

#Declaration

Delphi
property Restriction: TdxRibbonTabGroupRestriction read; write; default rtgrNone;

#Property Value

Type Default
TdxRibbonTabGroupRestriction rtgrNone

#Remarks

You can restrict certain tab group states using this property to ensure that a tab group layout remains immutable in response to Ribbon size changes in order to keep relevant commands prominently displayed.

Values include:

Value Meaning
rtgrNone No restricted states – the tab group can be expanded and collapsed as described in the CanCollapse property description.
rtgrNoExpand The tab group always remains in the collapsed state.
rtgrNoCollapse The tab group is always in the large state and cannot be collapsed. The CanCollapse property returns False for this tab group.

The default value of the Restriction property is rtgrNone.

See Also