I am trying to build a TreeView/Property Grid pair for my application. In my application I have implemented the Hierarchical Data Template as described in the online documentation (https://docs.telerik.com/devtools/wpf/controls/radtreeview/populating-with-data/hierarchical-data-templates). This populates the TreeView control as expected.
In binding the property grid to the SelectedItem of the TreeView, I found that I can only see the properties for the first TreeNode that is clicked. In troubleshooting I tried updating the PropertyGrid through code, but I found that the SelectionChanged event only fires for the first node that is clicked on. Any subsequent selection changes do not result in the SelectionChanged being fired.
How can I build this typical functionality into a Hierarchical Data Template based TreeView control?