public TreeView (TreeItem<T> root)

Creates a TreeView with the provided root node.

Refer to the TreeView class documentation for details on the default state of other properties.

Parameters:
root    The node to be the root in this TreeView.