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