Table of Contents

Interface ITreeView

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

Interface for all non-generic members of TreeView<T>. See TreeView Deep Dive for more information.

public interface ITreeView

Properties

AllowLetterBasedNavigation

Gets or sets whether the user can navigate the tree using letter keys.

MaxDepth

Gets or sets the maximum depth to which the tree will expand.

MultiSelect

Gets or sets whether the user can select multiple tree nodes at once.

Style

Contains options for changing how the tree is rendered.

Methods

Collapse()

Collapses the currently selected object.

CollapseAll()

Collapses all root nodes in the tree.

Expand()

Expands the currently selected object.

ExpandAll()

Fully expands all nodes in the tree.

RebuildTree()

Rebuilds the tree structure from the data source.