Class TreeStyle
Defines rendering options that affect how the tree is displayed.
Inheritance
System.Object
TreeStyle
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Terminal.Gui.Trees
Assembly: Terminal.Gui.dll
Syntax
public class TreeStyle
Properties
| Improve this Doc View SourceCollapseableSymbol
Symbol to use for branch nodes that can be collapsed (are currently expanded).
Defaults to '-'. Set to null to hide.
Declaration
public Rune? CollapseableSymbol { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Rune> |
ColorExpandSymbol
Set to true to highlight expand/collapse symbols in hot key color.
Declaration
public bool ColorExpandSymbol { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ExpandableSymbol
Symbol to use for branch nodes that can be expanded to indicate this to the user.
Defaults to '+'. Set to null to hide.
Declaration
public Rune? ExpandableSymbol { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Rune> |
HighlightModelTextOnly
Set to true to cause the selected item to be rendered with only the Terminal.Gui.Trees.Branch`1.Model text
to be highlighted. If false (the default), the entire row will be highlighted.
Declaration
public bool HighlightModelTextOnly { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
InvertExpandSymbolColors
Invert console colours used to render the expand symbol.
Declaration
public bool InvertExpandSymbolColors { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
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.
Declaration
public bool LeaveLastRow { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ShowBranchLines
true to render vertical lines under expanded nodes to show which node belongs to which
parent. false to use only whitespace.
Declaration
public bool ShowBranchLines { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |