Class TreeNodeRegistration
- Namespace
- BlazOrbit.Components
- Assembly
- BlazOrbit.dll
Common shape for registrations contributed by tree-node child components.
public class TreeNodeRegistration
- Inheritance
-
objectTreeNodeRegistration
- Derived
Constructors
TreeNodeRegistration()
public TreeNodeRegistration()
Properties
Data
Optional data bag forwarded to the constructed node.
public object? Data { get; init; }
Property Value
- object
Icon
Optional leading icon for the node.
public IconKey? Icon { get; init; }
Property Value
InitiallyExpanded
When true, the node is expanded on first render.
public bool InitiallyExpanded { get; init; }
Property Value
- bool
IsDisabled
When true, the node renders disabled.
public bool IsDisabled { get; init; }
Property Value
- bool
Key
Stable key for the node.
public required string Key { get; init; }
Property Value
- string
NodeContent
Optional custom content fragment.
public RenderFragment? NodeContent { get; init; }
Property Value
- RenderFragment
ParentKey
Key of the parent node, or null for roots.
public string? ParentKey { get; init; }
Property Value
- string
Text
Display text for the node.
public string? Text { get; init; }
Property Value
- string