I need to set the IsSelected item to currently expanded node in the treeview. How this could be done?
My problem is, i am programatically setting the IsSelected property of some nodes in the tree. Whenever i set this, though in the UI it shows the current selected node, the the IsSelected property of the tree which actually returns the selectedItem is perhaps bound to the root node rather than the current selected node. Any suggestion on this???