Skip to main content

DxMenu.Orientation Property

Specifies whether items are arranged vertically or horizontally.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.1.dll

NuGet Package: DevExpress.Blazor


public Orientation Orientation { get; set; }

Property Value

Type Default Description
Orientation Horizontal

An Orientation enumeration value.

Available values:

Name Description

Sets horizontal orientation.


Sets vertical orientation.


The Menu’s default orientation is Horizontal (menu items are arranged in a row). Use the Orientation property to change the orientation.

    <DxMenu Title="DevExpress"
            <DxMenuItem Text="Home" IconCssClass="menu-icon-home menu-icon">
                    <DxMenuItem Text="News">
                            <DxMenuItem Text="Explore our newest features" />
                            <DxMenuItem Text="Website news" />
                    <DxMenuItem Text="Our Mission" />
                    <DxMenuItem Text="Our Customers" />
            <DxMenuItem Text="Components" IconCssClass="menu-icon-products menu-icon">
                    <DxMenuItem Text="Blazor" />
                    <DxMenuItem Text="ASP.NET MVC" />
                    <DxMenuItem Text="ASP.NET Web Forms" />
                    <DxMenuItem Text="ASP.NET Core" />
                    <DxMenuItem Text="Bootstrap Web Forms" />
            <DxMenuItem Text="Support" IconCssClass="menu-icon-support menu-icon">
                    <DxMenuItem Text="Getting Started" />
                    <DxMenuItem Text="Documentation" />
                    <DxMenuItem Text="Support Center" />
                    <DxMenuItem Text="Code Examples" />
                    <DxMenuItem Text="Blogs" />

Vertical Menu

Run Demo: Menu - Orientation

Watch Video

See Also