Table of Contents

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
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

Node T
Parent T
Depth int
HasChildren bool
IsExpanded bool

Properties

Depth

public int Depth { get; init; }

Property Value

int

HasChildren

public bool HasChildren { get; init; }

Property Value

bool

IsExpanded

public bool IsExpanded { get; init; }

Property Value

bool

Node

public T Node { get; init; }

Property Value

T

Parent

public T? Parent { get; init; }

Property Value

T