Dear Team,
I want to persist radtreeview state. How can i achieve this behavior. Here is my custom XAML code. please help to advise.
<
telerik:RadTreeView
Margin
=
"8"
x:Name
=
"xTreeView"
ItemsSource
=
"{Binding Categories,Mode=TwoWay}"
IsLineEnabled
=
"True"
telerik:TreeViewSettings.DragDropExecutionMode
=
"Legacy"
mouse:MouseDoubleClick.Command
=
"{Binding ShowItemCommand}"
mouse:MouseDoubleClick.CommandParameter
=
"{Binding ElementName=xTreeView,Path=SelectedItem}"
ScrollViewer.VerticalScrollBarVisibility
=
"Visible"
ScrollViewer.HorizontalScrollBarVisibility
=
"Visible"
IsDragDropEnabled
=
"True"
AllowDrop
=
"True"
telerik:PersistenceManager.StorageId
=
"treeViewInfotab"
>
<
telerik:RadTreeView.ItemTemplate
>
<
HierarchicalDataTemplate
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
CheckBox
IsChecked
=
"{Binding IsChecked, Mode=TwoWay}"
telerik:StyleManager.Theme
=
"Office_Black"
/>
<
TextBlock
VerticalAlignment
=
"Center"
Text
=
"{Binding Name}"
/>
<
TextBlock
Text
=
"{Binding InfoTabItemsSourcePath}"
Visibility
=
"Hidden"
/>
</
StackPanel
>
</
HierarchicalDataTemplate
>
</
telerik:RadTreeView.ItemTemplate
>
</
telerik:RadTreeView
>
Thank you.
Regards,
Prabakaran