So I have a TreeView that looks something like this:
<TreeView Name="elementTreeView"
ItemsSource="{Binding Elements}"
Width="Auto"
SelectedValuePath="Path" />
I also have a TextBlock defined as follows:
<TextBlock Text="{Binding ElementName=elementTreeView, Path=SelectedValue}" />
My ModelView is pretty basic and contains exactly what you would expect. What I'm looking for is a way to bind a property in my ViewModel to SelectedValue. Right now, the text block displays what I need. Is there any easy way to bind this property?