Class TreeViewTemplates<TValue>
The TreeView component allows you to customize the look of TreeView nodes using Templates.
Inheritance
System.Object
TreeViewTemplates<TValue>
Namespace: Syncfusion.Blazor.Navigations
Assembly: Syncfusion.Blazor.dll
Syntax
public class TreeViewTemplates<TValue> : OwningComponentBase
Type Parameters
Name | Description |
---|---|
TValue | "Specifies the TValue". |
Constructors
TreeViewTemplates()
Declaration
public TreeViewTemplates()
Properties
NodeTemplate
Specifies the NodeTemplate.
Declaration
public RenderFragment<TValue> NodeTemplate { 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()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | "Task". |