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)
3,116 times
Add to favorites
E-mail Twitter Digg Facebook