Table of Contents

Class TreeStyle

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

Defines rendering options that affect how the tree is displayed.

public class TreeStyle
Inheritance
TreeStyle
Inherited Members

Constructors

TreeStyle()

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 using the Highlight 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 highlighted. If false (the default), the entire row will be highlighted.

InvertExpandSymbolColors

Invert foreground and background colors used to render the expand symbol.

ShowBranchLines

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