TreeView SelectedItem TwoWay MVVM (plus expand to selected and close all others)

This sample shows how to TWO-WAY BIND to the SelectedItem property of a Silverlight (or WPF) TreeView! It also shows how to expand nodes down to the selected item, and collapse all other nodes (to keep it tidy).

C# (1.0 MB)
4.6 Star
3,467 times
Add to favorites
E-mail Twitter Digg Facebook