TreeGuide

Represents tree guide lines.

Represents tree guide lines.

Properties

Ascii : TreeGuide

Gets an AsciiTreeGuide instance.

BoldLine : TreeGuide

Gets a BoldLineTreeGuide instance.

DoubleLine : TreeGuide

Gets a DoubleLineTreeGuide instance.

Line : TreeGuide

Gets a LineTreeGuide instance.

SafeTreeGuide : TreeGuide

Gets the safe guide lines or null if none exist.

Methods

public string GetPart(TreeGuidePart part)

Get the set of characters used to render the corresponding TreeGuidePart.

Parameters:

part (TreeGuidePart)
The part of the tree to get rendering string for.

Returns:

Rendering string for the tree part.

Extension Methods

TreeGuide GetSafeTreeGuide(this TreeGuide guide, bool safe)

Gets the safe border for a border.

Returns:

The safe border if one exist, otherwise the original border.