Skip to main content
All docs
V25.1
  • DxRibbonGroup.AdaptivePriority Property

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

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    [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.

    <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