+1  A: 

The correct way would be to manifest the child/parent relationship in your view models and have your bindings work against the view model objects rather than the view objects.

An alternative would be to write a value converter that looks up the parent TreeViewItem for a given TreeViewItem and bind to SelectedItem using that converter.

HTH,
Kent

Kent Boogaart
Thanks! In the viewmodel the Parents know about their Children, but not the other way around. All I can work with is the SelectionChanged (of the TreeView) and Selected ( of the TreeViewItem) events. The same Child can appear several times in the TreeView with different parent nodes. How can I use the data available through these events to look up the parent of the currently selected item?
Dabblernl
All right, I give in... I adapted the viewmodel to make this work. Do I get good grades now? ;-)
Dabblernl