Interface ITreeNode
- Namespace
- BlazOrbit.Components
- Assembly
- BlazOrbit.dll
Non-generic projection of a tree node — used by infrastructure that walks heterogeneous trees.
public interface ITreeNode
Properties
Children
Direct child nodes.
IReadOnlyList<ITreeNode> Children { get; }
Property Value
- IReadOnlyList<ITreeNode>
Depth
Distance from the root (root nodes have depth 0).
int Depth { get; }
Property Value
- int
HasChildren
true when the node has any children — eagerly loaded or lazy.
bool HasChildren { get; }
Property Value
- bool
Icon
Optional leading icon for the node.
IconKey? Icon { get; }
Property Value
IsDisabled
true when the node cannot be selected or expanded.
bool IsDisabled { get; }
Property Value
- bool
Key
Stable identifier within the tree.
string Key { get; }
Property Value
- string
Parent
Parent node, or null for root nodes.
ITreeNode? Parent { get; }
Property Value
Text
Display text rendered next to the icon.
string? Text { get; }
Property Value
- string