Hello, I am trying to bind the items of my RadTreeView to IsSelected and IsExpanded but when I use all my items are not visible in the tree.
I use it like this:
<
telerik:RadTreeView.ItemContainerStyle
>
<
Style
TargetType
=
"telerik:RadTreeViewItem"
>
<
Setter
Property
=
"IsSelected"
Value
=
"{Binding IsSelected}"
/>
<
Setter
Property
=
"IsExpanded"
Value
=
"{Binding IsExpanded}"
/>
</
Style
>
I tried to add to the style BasedOn="{StaticResource RadTreeViewItemStyle}" but I received warning that the style cannot be resolved, how can I use it?