Hello.
I am trying to make the Element field below 'FullName' be a dynamic value that reads from
{Binding Path=Name}.
Something like this
<TextBox Text="{Binding Path=Element[{Binding Path=Name}].Value}" Margin="2"></TextBox>
but it doesnt work.
<UserControl.Resources> |
<HierarchicalDataTemplate |
ItemsSource="{Binding Path=Elements}" |
x:Key="TVTemplate"> |
<telerik:RadTreeView> |
<WrapPanel> |
<TextBlock Text="{Binding Path=Name}" Margin="2"></TextBlock> |
<TextBox Text="{Binding Path=Element[FullName].Value}" Margin="2"></TextBox> |
</WrapPanel></telerik:RadTreeView> |
</HierarchicalDataTemplate> |
</UserControl.Resources> |