I have used the provided CategoryViewModel to implement RadTreeView tristate logic with checkboxes and also Enable/disable of some items by using isChecked and isEnabled properties.
Now i need to implement Expand and Collapse when i check a parent item (subcategory item )
Could you pls suggest which events and how to use.
Found it
<
Style
TargetType
=
"{x:Type telerik:RadTreeViewItem}"
BasedOn
=
"{StaticResource RadTreeViewItemStyle}"
>
<
Setter
Property
=
"IsSelected"
Value
=
"{Binding Path=IsSelected,Mode=TwoWay}"
/>
<
Setter
Property
=
"IsExpanded"
Value
=
"{Binding Path=IsExpanded,Mode=TwoWay}"
/>
</
Style
>