Class TreeNode | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

Simple class for representing nodes, use with regular (non-generic) TreeView.

public class TreeNode : ITreeNode

Inheritance

TreeNode

Implements

Inherited Members

Constructors

TreeNode()

Initialises a new instance with no Text

TreeNode(string)

Initialises a new instance and sets starting Text

Properties

Children

Children of the current node

Tag

Optionally allows you to store some custom data/class here.

Text

Text to display in tree node for current entry

Methods

ToString()

returns Text