Edit this page

Bind to a Selected Item

RadTreeView exposes SelectedItem property, which is a DependencyProperty and can be used in a data binding.

XAML

<telerik:RadTreeView SelectedItem="{Binding SelectedItem, Mode=TwoWay}"/>

If you want to bind to the RadTreeViewItem's IsSelected property when your treeview is data bound to an object, then you need to use an ItemContainerStyle.

XAML

<telerik:RadTreeView>
    <telerik:RadTreeView.ItemContainerStyle>
        <Style TargetType="telerik:RadTreeViewItem">
            <Setter Property="IsSelected" Value="{Binding Path=Select, Mode=TwoWay}" />
        </Style >
    </telerik:RadTreeView.ItemContainerStyle>
</telerik:RadTreeView>

See Also