[]
        
(Showing Draft Content)

C1.Blazor.TreeView.TreeViewItem

TreeViewItem Class

The Tree-view DataSource object class

Inheritance
TreeViewItem
Namespace: C1.Blazor.TreeView
Assembly: C1.Blazor.TreeView.dll
Syntax
public class TreeViewItem : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

Constructors

Name Description
TreeViewItem()

Initializes a new instance of the TreeViewItem class.

Properties

Name Description
ChildContent

ChildContent RenderFragment

DataItem

gets the original data item.

Header

Gets or sets the node header.

Id

get node Id

IsExpanded

gets or set the node IsExpanded property

IsSelected

gets or sets the node IsSelected property

Items

Gets or sets the children of the node.

Parent

Gets the parent tree-view, in case there is one, otherwise null is returned.

ParentCollection
TreeLevel

Get current tree level.

Methods

Name Description
BuildRenderTree(RenderTreeBuilder)
OnInitialized()