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
[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 Settings → Font Decoration → Clipboard.
<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