Table of Contents

Class TreeStyle

Namespace
Terminal.Gui.Trees
Assembly
Terminal.Gui.dll

Defines rendering options that affect how the tree is displayed.

public class TreeStyle
Inheritance
TreeStyle
Inherited Members

Properties

CollapseableSymbol

Symbol to use for branch nodes that can be collapsed (are currently expanded). Defaults to '-'. Set to null to hide.

ColorExpandSymbol

Set to true to highlight expand/collapse symbols in hot key color.

ExpandableSymbol

Symbol to use for branch nodes that can be expanded to indicate this to the user. Defaults to '+'. Set to null to hide.

HighlightModelTextOnly

Set to true to cause the selected item to be rendered with only the Model text to be highlighted. If false (the default), the entire row will be highlighted.

InvertExpandSymbolColors

Invert console colours used to render the expand symbol.

LeaveLastRow

true to leave the last row of the control free for overwritting (e.g. by a scrollbar) When true scrolling will be triggered on the second last row of the control rather than. the last.

ShowBranchLines

true to render vertical lines under expanded nodes to show which node belongs to which parent. false to use only whitespace.