Tree lines, as the name suggests, are the lines connecting the nodes of a treeview displaying the relationship between parent and child nodes clearly.
TreeView allows you to display or hide the tree lines by setting the ShowLines property provided by the TreeViewStyles class to true or false. In addition, the control enables you to perform customizations, as follows:
The following image shows TreeView with the tree lines customized with respect to their color, width, and style.
The following code snippet enables the visibility of the tree lines and customizes them in terms of their width, color, and style.