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

CompatibilitySettings.ReverseRightAlignedToolbarGroups Property

Specifies whether the Toolbar renders its right-aligned items in reverse order.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public static bool ReverseRightAlignedToolbarGroups { get; set; }

#Property Value

Type Description
Boolean

true to render groups in reverse order; false to render groups in direct order.

#Remarks

In v22.2, right-aligned Toolbar groups appear in the order they are specified in the markup:

Razor
<DxToolbar> 
    <Items> 
        <DxToolbarItem Text="Item 1" Alignment="ToolbarItemAlignment.Right" /> 
        <DxToolbarItem Text="Item 2" Alignment="ToolbarItemAlignment.Right" /> 
        <DxToolbarItem Text="Item 3" Alignment="ToolbarItemAlignment.Right" BeginGroup="true" /> 
    </Items> 
</DxToolbar>

Direct group order

In previous versions, the Toolbar component rendered groups in reverse order:

Reverse group order

Use the ReverseRightAlignedToolbarGroups property to restore this behavior. Specify this property in the Program.cs file before you register DevExpress resources:

// ...
DevExpress.Blazor.CompatibilitySettings.ReverseRightAlignedToolbarGroups = true;
builder.Services.AddDevExpressBlazor();
// ...
app.Run();
See Also