Skip to main content

DxMenu.ItemTemplate Property

Specifies the template for menu items.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.1.dll

NuGet Package: DevExpress.Blazor


public RenderFragment<IMenuItemInfo> ItemTemplate { 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.

You can specify a template for all items or for an individual item. Individual templates override common templates.

What to Customize Common Templates Individual Templates
A whole item DxMenu.ItemTemplate DxMenuItem.Template
An item’s text DxMenu.ItemTextTemplate DxMenuItem.TextTemplate
An item’s submenu DxMenu.SubMenuTemplate DxMenuItem.SubMenuTemplate
See Also