It is binding from UI to VM. I just need to get the value of the selecteditem, and the SelectedItem of the TreeView is Read Only. So how do I get the Value of the Selected Item? Thanks in advance.
B
BeeDev
@BeeDev
Posts
-
How to get TreeView SelectedItem/Value? -
How to get TreeView SelectedItem/Value?I have Multiple Lists that are bound to multiple TreeViewItems within the Tree as in the code below. This is working perfectly to display the bound items; however, I couldn't figure out how to get the selected item value. For example, if the user clicks the color Blue, I would like to be able to get that value, in this case "Blue," in order to be able to bind to a property in the ViewModel