Skip to main content
All docs
V24.2

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

DxRibbonGroup.AdaptivePriority Property

Specifies the order in which the ribbon group collapses when the component is resized.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[Parameter]
public int? AdaptivePriority { get; set; }

#Property Value

Type Description
Nullable<Int32>

The group collapse priority.

#Remarks

When the ribbon’s width decreases, the component collapses groups starting from the right-most group. Use the AdaptivePriority property to specify the order in which groups are collapsed (higher values are collapsed first).

The following code snippet forces the ribbon to collapse groups in the following order: Font SettingsFont DecorationClipboard.

razor
<DxRibbon >
    <DxRibbonApplicationTab Text="File" />
        <DxRibbonTab Text="Home">
            <DxRibbonGroup Text="Clipboard" AdaptivePriority="0" >...</DxRibbonGroup>
            <DxRibbonGroup Text="Font Settings" AdaptivePriority="2" >...</DxRibbonGroup>
            <DxRibbonGroup Text="Font Decoration" AdaptivePriority="1" >...</DxRibbonGroup>
        </DxRibbonTab>
    ...
</DxRibbon>
See Also