windowsforms-119635-controls-and-libraries-tree-list-feature-center-data-presentation-treeview-style.md
The TreeList control allows you to choose between the default TreeList and TreeView visual styles. The latter imitates the standard TreeView control’s appearance, which is characterized by the following features:
Unlike the standard TreeView control which can only display single-column data, the TreeList control can display single-column and multi-column data in the TreeView visual style.
|
TreeView style
|
TreeList style
| | --- | --- | |
|
|
To learn how to provide data for the TreeList control and organize it into a hierarchy, see Data Binding.
The TreeView visual style can be activated using one of the following methods:
When you activate the TreeView style, certain TreeList properties are modified to imitate this visual style.
| Property | Description |
|---|---|
| TreeListOptionsView.ShowColumns is set to false | Hides the column headers. |
| TreeListOptionsView.ShowHorzLines, TreeListOptionsView.ShowVertLines and TreeListOptionsView.ShowFirstLines are set to false | Hides the lines between cells. |
| TreeListOptionsView.ShowIndicator is set to false | Hides the indicator panel. |
The following features are disabled in the TreeView style: