Struct TreeRow<T>
- Namespace
- MiniTui
- Assembly
- MiniTui.dll
One visible row of a tree: a node, its parent (null for a root) and its depth (0 for a root).
public readonly record struct TreeRow<T> : IEquatable<TreeRow<T>> where T : class
Type Parameters
T
- Implements
-
IEquatable<TreeRow<T>>
- Inherited Members
Constructors
TreeRow(T, T?, int, bool, bool)
One visible row of a tree: a node, its parent (null for a root) and its depth (0 for a root).
public TreeRow(T Node, T? Parent, int Depth, bool HasChildren, bool IsExpanded)
Parameters
Properties
Depth
public int Depth { get; init; }
Property Value
HasChildren
public bool HasChildren { get; init; }
Property Value
IsExpanded
public bool IsExpanded { get; init; }
Property Value
Node
public T Node { get; init; }
Property Value
- T
Parent
public T? Parent { get; init; }
Property Value
- T