Today I moved my File.xaml from the project root to a folder hierarchy - xaml\folder1\File.xml. The following Hierarchical Data Template stopped working. Specifically, X continues to work and find the right image, but Y and Z don't display their images any longer. I could accept if they all lost their images, but why only the 2nd and 3rd level templates?
What is the proper way to reference image paths if I want to group xaml files togther by function?
I using v2.0.50727 / 2009.2.720.1020 after my last reported problems.
Thanks,
Tim
<DataTemplate x:Key="ZTemplate"> |
<StackPanel Orientation="Horizontal"> |
<Image Margin="2,0,2,0" Source="images/tree/z.png"/> |
<TextBlock Text="{Binding z}" /> |
</StackPanel> |
</DataTemplate> |
<Controls:HierarchicalDataTemplate x:Key="YTemplate" |
ItemTemplate="{StaticResource ZTemplate}"> |
<StackPanel Orientation="Horizontal"> |
<Image Margin="2,0,2,0" Source="images/tree/y.png"/> |
<TextBlock Text="{Binding y}" /> |
</StackPanel> |
</Controls:HierarchicalDataTemplate> |
<Controls:HierarchicalDataTemplate x:Key="XTemplate" |
ItemTemplate="{StaticResource YTemplate}"> |
<StackPanel Orientation="Horizontal"> |
<Image Margin="2,0,2,0" Source="images/tree/x.png"/> |
<TextBlock Text="{Binding x}" /> |
</StackPanel> |
</Controls:HierarchicalDataTemplate> |
<Telerik:RadTreeView ... |
ItemTemplate="{StaticResource XTemplate}" |
ExpanderStyle="{StaticResource LoadOnDemandExpanderStyle}" |
LoadOnDemandEnabled="True" /> |
What is the proper way to reference image paths if I want to group xaml files togther by function?
I using v2.0.50727 / 2009.2.720.1020 after my last reported problems.
Thanks,
Tim