Skip to main content

TdxRibbonTabGroup.Restriction Property

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

Declaration

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