Skip to main content
All docs
V24.2

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

DxSplitter.Orientation Property

Specifies whether the splitter arranges panes horizontally or vertically.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

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

#Property Value

Type Default Description
Orientation Horizontal

The pane stack direction.

Available values:

Name Description
Horizontal

Sets horizontal orientation.

Vertical

Sets vertical orientation.

#Remarks

The splitter component displays a single-level stack of panels. Use the Orientation property to specify the pane stack direction.

razor
<DxSplitter CssClass="border" Height="200px" Width="950px">
    <Panes>
        <DxSplitterPane>Pane 1</DxSplitterPane>
        <DxSplitterPane>
            <DxSplitter Orientation="Orientation.Vertical">
                <Panes>
                    <DxSplitterPane>Pane 2-1</DxSplitterPane>
                    <DxSplitterPane>Pane 2-2</DxSplitterPane>
                </Panes>
            </DxSplitter>
        </DxSplitterPane>
        <DxSplitterPane>Pane 3</DxSplitterPane>
    </Panes>
</DxSplitter>

Horizontal and vertical splitters

Run Demo

See Also