DxMenu.ItemTemplate Property
Specifies the template for menu items.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
[Parameter]
public RenderFragment<IMenuItemInfo> ItemTemplate { get; set; }
#Property Value
Type | Description |
---|---|
Render |
The template content. |
#Remarks
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 | Dx |
Dx |
An item’s text | Dx |
Dx |
An item’s submenu | Dx |
Dx |