Skip to main content

DxMenu.SubMenuTemplate Property

Specifies the template used to display submenus for menu items.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.2.dll

NuGet Package: DevExpress.Blazor


public RenderFragment<IMenuItemInfo> SubMenuTemplate { get; set; }

Property Value

Type Description

The template content.


The Menu component allows you to use templates to customize the layout and appearance of menu items and their parts.

Use the SubMenuTemplate to specify a common template for submenus of all menu items.

<div class="card w-auto">
            <h5>@context.Text Title</h5>
            <p>Content for @context.Text menu item</p>
            <DxMenuItem Text="Products" />
            <DxMenuItem Text="Support" />

Submenu Template

See Also