Renders the data as a tree.
| Name | Type | Description |
|---|---|---|
| TNode | Generic argument | |
| Class | String | |
| ExpandStateChanged | EventCallback<ExpandedStateChangedArgs<TNode>> | An event raised when the expanded state of a node changes |
| GetChildNodesCallback | GetChildNodesDelegate<TNode> | A function that gets all the child nodes for a given parentNode. If lazy loading is supported and the child nodes have not yet been loaded then it should return null. (Required) |
| IsNodeExpandedCallback | IsNodeExpandedDelegate<TNode> | A function that indicates if the given node is expanded or collapsed. (Optional - if null then the expanded/collapsed state is managed by the ) |
| LoadChildNodesCallback | LoadChildNodesDelegate<TNode> | A function to lazy load child nodes. Only required if lazy loading / load on demand is used. (Optional - unless returns null) |
| MinItemHeight | Nullable<Int32> | Optional, sets the min height of tree view item in pixels. Use zero to always fit to content. |
| NodeTemplate | RenderFragment<TNode> | The template used to render the Node (Required) |
| RootNode | TNode | The root node to be displayed in the tree One of the following must be supplied or (but NOT BOTH) |
| RootNodes | IEnumerable<TNode> | All the root nodes displayed in the tree One of the following must be supplied or (but NOT BOTH) |
| SelectedNode | TNode | The selected item in the tree (Optional - default null) |
| SelectedNodeChanged | EventCallback<TNode> | An event raised when the selected node changes |
Selected Node =