I have started learning WPF and I've got question about TreeViewModel and data binding.
I already made my Tree based on this tutorial: WPF TreeView Tutor (last example about Family) and now I'd like to know: is it possible to make binding from TreeView to Object?
For example - is it possible to select TreeViewItem, find out its type (is it Family or is it FamilyMember) and cast it to proper class?