# Hierarchy Column and Hierarchy Indent

The RadTreeListView control allows you to control the both the column that contains the tree view UI, as well as the indent of the expand/collapse button.

## Hierarchy Column

By default, the first column contains the tree view UI. In order to change the column which holds it, you can set the `HierarchyColumnIndex` property to the desired value. The default value of this property is **0**.

**Changing the column that contains the tree view UI**

```XAML
<telerik:RadTreeListView x:Name="radTreeListView"
	                            AutoGenerateColumns="False"
	                            HierarchyColumnIndex="1">
    <telerik:RadTreeListView.ChildTableDefinitions>
        <telerik:TreeListViewTableDefinition ItemsSource="{Binding Items}">
        </telerik:TreeListViewTableDefinition>
    </telerik:RadTreeListView.ChildTableDefinitions>
    <telerik:RadTreeListView.Columns>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}"
	                                    Header="Name" />
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Count}"
	                                    Header="Count" />
    </telerik:RadTreeListView.Columns>
</telerik:RadTreeListView>
```

> caption RadTreeListView with the tree view UI shown on the second column

![WPF RadTreeListView Hierarchy Column Index 1](https://www.telerik.com/products/wpf/documentation/assets/d4e11f125e9e210858e752dedfc297bc/radtreelistview_hierarchycolumn_01.png)

## Hierarchy Indent

The RadTreeListView control allows you to control the indent of the hierarchy button via the `HierarchyIndent` property. The default value of this property is **20**.

**Changing the indent of the hierarchy button**

```XAML
<telerik:RadTreeListView AutoGenerateColumns="False" 
	                         HierarchyIndent="40"
	                         ItemsSource="{Binding WarehouseItems}">
    <telerik:RadTreeListView.ChildTableDefinitions>
        <telerik:TreeListViewTableDefinition ItemsSource="{Binding Items}" />
    </telerik:RadTreeListView.ChildTableDefinitions>
    <telerik:RadTreeListView.Columns>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" 
	                                Header="Name" />
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Count}" 
	                                Header="Count" />
    </telerik:RadTreeListView.Columns>
</telerik:RadTreeListView>
```

> caption RadTreeListView with increased indent on the hierarchy button

![WPF RadTreeListView with increased indent on the hierarchy button](https://www.telerik.com/products/wpf/documentation/assets/313b4c228d016ef14821e907fe2b1c42/radtreelistview_hierarchycolumn_02.png)

## See Also

* [Columns](https://www.telerik.com/products/wpf/documentation/controls/radtreelistview/features/columns)
* [Getting Started](https://www.telerik.com/products/wpf/documentation/controls/radtreelistview/radtreeliestview-getting-started)
* [Data Binding](https://www.telerik.com/products/wpf/documentation/controls/radtreelistview/features/data-binding)
