How can I retrieve the item that is selected in a WPF-treeview? I want to do this in XAML, because I want to bind it.
You might think that it is SelectedItem>
SelectedItem>
All to complicated... Go with Caliburn Micro (http://caliburnmicro.codeplex.com/)
View:
ViewModel:
public void SetSelectedItem(YourNodeViewModel item) {};