Get Selected TreeViewItem Using MVVM

后端 未结 5 689
挽巷
挽巷 2020-12-08 11:26

So someone suggested using a WPF TreeView, and I thought: \"Yeah, that seems like the right approach.\" Now, hours and hours later, I simply can\'t believe how

5条回答
  •  无人及你
    2020-12-08 11:42

    I would probably use the SelectedItemChanged event to set a respective property on your VM.

提交回复
热议问题