using System; namespace Terminal.Gui { /// /// Defines rendering options that affect how the tree is displayed /// public class TreeStyle { /// /// True to render vertical lines under expanded nodes to show which node belongs to which /// parent. False to use only whitespace /// /// public bool ShowBranchLines { get; set; } = true; /// /// Symbol to use for branch nodes that can be expanded to indicate this to the user. /// Defaults to '+'. Set to null to hide /// public Rune? ExpandableSymbol { get; set; } = '+'; /// /// Symbol to use for branch nodes that can be collapsed (are currently expanded). /// Defaults to '-'. Set to null to hide /// public Rune? CollapseableSymbol { get; set; } = '-'; /// /// Set to true to highlight expand/collapse symbols in hot key color /// public bool ColorExpandSymbol { get; set; } /// /// Invert console colours used to render the expand symbol /// public bool InvertExpandSymbolColors { get; set; } /// /// 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. /// /// public bool LeaveLastRow { get; set; } } }