DxStackLayout.Orientation Property

Specifies how the stack layout's items are arranged: vertically (in a column) or horizontally (in a row).

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

Declaration

[Parameter]
[DefaultValue(Orientation.Horizontal)]
public Orientation Orientation { get; set; }

Property Value

Type Default Description
Orientation

Horizontal

The items' orientation.

Remarks

<DxStackLayout Orientation="Orientation.Horizontal">
    <Items>
        <DxStackLayoutItem>
            ...
        </DxStackLayoutItem>
        ...
    </Items>
</DxStackLayout>

Horizontal Stack Layout

<DxStackLayout Orientation="Orientation.Vertical">
    <Items>
        <DxStackLayoutItem>
            ...
        </DxStackLayoutItem>
        ...
    </Items>
</DxStackLayout>

Vertical Stack Layout

See Also