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)
2,118 times
Add to favorites
1/19/2013
E-mail Twitter del.icio.us Digg Facebook