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
public static bool ReverseRightAlignedToolbarGroups { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
Remarks
In v22.2, right-aligned Toolbar groups appear in the order they are specified in the markup:
<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>
In previous versions, the Toolbar component rendered groups in reverse 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