TreeNodeExtensions Class
Contains extension methods for
TreeNode
.
public static class TreeNodeExtensions
- Namespace
- Spectre
.Console
Methods
-
static TreeNode Collapse
(TreeNode) - Collapses the tree.
-
static TreeNode Expand
(TreeNode, bool) - Sets whether or not the tree node should be expanded.
-
static TreeNode Expand
(TreeNode) - Expands the tree.