Class TreeViewTemplates<TValue>
The TreeView component allows you to customize the look of TreeView nodes using Templates.
Inheritance
TreeViewTemplates<TValue>
Inherited Members
Namespace: Syncfusion.Blazor.Navigations
Assembly: Syncfusion.Blazor.dll
Syntax
public class TreeViewTemplates<TValue> : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Type Parameters
| Name | Description |
|---|---|
| TValue | "Specifies the TValue". |
Constructors
TreeViewTemplates()
Declaration
public TreeViewTemplates()
Properties
NodeTemplate
Specifies the NodeTemplate.
Declaration
[Parameter]
public RenderFragment<TValue> NodeTemplate { get; set; }
Property Value
| Type |
|---|
| RenderFragment<TValue> |
Methods
Dispose(bool)
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
Overrides
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | "Task". |