blazor-devexpress-dot-blazor-dot-dxstacklayout-cf45271b.md
Specifies how the stack layout’s items are arranged: vertically (in a column) or horizontally (in a row).
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[DefaultValue(Orientation.Horizontal)]
[Parameter]
public Orientation Orientation { get; set; }
| Type | Default | Description |
|---|---|---|
| Orientation | Horizontal |
An Orientation enumeration value.
|
Available values:
| Name | Description |
|---|---|
| Horizontal |
Sets horizontal orientation.
| | Vertical |
Sets vertical orientation.
|
<DxStackLayout Orientation="Orientation.Horizontal">
<Items>
<DxStackLayoutItem>
@* ... *@
</DxStackLayoutItem>
@* ... *@
</Items>
</DxStackLayout>
<DxStackLayout Orientation="Orientation.Vertical">
<Items>
<DxStackLayoutItem>
@* ... *@
</DxStackLayoutItem>
@* ... *@
</Items>
</DxStackLayout>
See Also