DxButtonGroup.Orientation Property
Specifies how button group items are arranged (horizontally or vertically).
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v26.1.dll
Declaration
[DefaultValue(Orientation.Horizontal)]
[Parameter]
public Orientation Orientation { get; set; }
Property Value
| Type | Default | Description |
|---|---|---|
| Orientation | Horizontal | An enumeration value. |
Available values:
| Name | Description |
|---|---|
| Horizontal | Sets horizontal orientation. |
| Vertical | Sets vertical orientation. |
Remarks
The <DxButtonGroup> component arranges its items in a row (the orientation mode is Horizontal). Use the Orientation property to change the mode to Vertical.

@using DevExpress.Images.Blazor
<DxButtonGroup RenderStyle="ButtonRenderStyle.Secondary"
Orientation="Orientation.Vertical">
<Items>
<DxButtonGroupItem Text="Add Task"
IconUrl="@Icon.AddCircle" />
<DxButtonGroupItem Text="Edit Task"
IconUrl="@Icon.Editor" />
<DxButtonGroupItem Text="Assign Task"
IconUrl="@Icon.UserAccountCircle" />
<DxButtonGroupItem Text="Complete Task"
IconUrl="@Icon.CheckmarkCircle" />
<DxButtonGroupItem Text="Archive Task"
IconUrl="@Icon.Delete" />
</Items>
</DxButtonGroup>
See Also