Edit this page

Hierarchy Column

By default the first column contains the tree view UI. In order to change the column which holds it, you have to set the HierarchyColumnIndex property to the desired value.

The first column index is 0.

Here is an example.

<telerik:RadTreeListView x:Name="radTreeListView"
        <telerik:TreeListViewTableDefinition ItemsSource="{Binding Items}">
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}"
                                    Header="Name" />
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Count}"
                                    Header="Count" />

See Also

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article