Class MenuTemplates<TValue>
Used to specify templates for rendering menu items.
Inheritance
System.Object
MenuTemplates<TValue>
Namespace: Syncfusion.Blazor.Navigations
Assembly: Syncfusion.Blazor.dll
Syntax
public class MenuTemplates<TValue> : OwningComponentBase
Type Parameters
| Name |
|---|
| TValue |
Constructors
MenuTemplates()
Declaration
public MenuTemplates()
Properties
Template
Specifies the template for Menu.
Declaration
public RenderFragment<TValue> Template { get; set; }
Property Value
| Type |
|---|
| Microsoft.AspNetCore.Components.RenderFragment<TValue> |
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing |
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
| Type |
|---|
| System.Threading.Tasks.Task |