Interface IHierarchicalSelectionOption
- Namespace
- BlazOrbit.Abstractions
- Assembly
- BlazOrbit.Core.dll
An option that can have nested child options (tree-style selection).
public interface IHierarchicalSelectionOption : ISelectionOption
- Inherited Members
Properties
Children
Direct children of this option.
IReadOnlyList<IHierarchicalSelectionOption> Children { get; }
Property Value
- IReadOnlyList<IHierarchicalSelectionOption>
Depth
Depth from the root (0 for top-level options).
int Depth { get; }
Property Value
- int
HasChildren
True when Children is non-empty.
bool HasChildren { get; }
Property Value
- bool
Key
Stable identifier within the tree.
string Key { get; }
Property Value
- string
Parent
Parent option, or null when this is a root.
IHierarchicalSelectionOption? Parent { get; }