Binding SelectedItem of TreeViewAdv in MVVM Pattern in WPF TreeView (TreeViewAdv)
A new set of properties namely SelectedTreeItem have been defined to bind SelectedItem value for TreeViewAdv in MVVM pattern.
Use case scenario
Users can get the SelectedItem using SelectedTreeItem property in order to enable two way binding between SelectedItem property in View and SelectedTreeItem property of TreeViewAdv, without modifying the actual SelectedItem property of TreeViewAdv.
Property | Description |
---|---|
SelectedTreeItem | This can be used to bind the Selected TreeView Item to a property of MVVM sample. |
Samples Location:
The samples are located in the following location:
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page