OFGemini
asked on
WPF Set Selected Treeview item
Hello,
In WPF, How do I set the Selected Treeview item and make it visible?
Thanks.
In WPF, How do I set the Selected Treeview item and make it visible?
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I found the solution on my own.
Then you can simply select (or even expand) the related items via your viewmodel, which is pretty much under your control.
It sounds a bit complicated this way, but it is explained pretty well on Bea Stollnitz's blog:
http://bea.stollnitz.com/blog/?p=54
http://bea.stollnitz.com/blog/?p=55
http://bea.stollnitz.com/blog/?p=59
Regards,