WPF TreeView Selection/Expansion State


This entry is part 5 of 6 in the series WPF TreeView

WPF Tutorial says: “In the previous couple of TreeView articles, we used data binding to display custom objects in a WPF TreeView. This works really well, but it does leave you with one problem: Because each tree node is now represented by your custom class, for instance FamilyMember as we saw in the previous article, you no longer have direct control over TreeView node-specific functionality like selection and expansion state. In practice this means that you can’t select or expand/collapse a given node from code-behind.”

TreeView Selection/Expanse State.

Series Navigation<< WPF TreeView Multiple TemplatesWPF TreeView Lazy Loading >>