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

ToolbarItemAlignment Enum

Lists values that define the Toolbar item’s position.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public enum ToolbarItemAlignment

#Members

Name Description
Left

The item is aligned to the left of the underlying container.

Right

The item is aligned to the right of the underlying container.

#Related API Members

The following properties accept/return ToolbarItemAlignment values:

#Remarks

The ToolbarItemAlignment enumeration values specify the Toolbar item‘s position.

Razor
<DxToolbar>
    <DxToolbarItem Text="Insert"  Alignment="ToolbarItemAlignment.Right"></DxToolbarItem>
    <DxToolbarItem Text="Edit" Alignment="ToolbarItemAlignment.Left"></DxToolbarItem>
    <DxToolbarItem Text="Delete" Alignment="ToolbarItemAlignment.Right"></DxToolbarItem>
</DxToolbar>

Toolbar Item Alignment

Run Demo: Toolbar - Overview

See Also