Dear Telerik,
I have a database table containing not only the text details of each node but also the Images that should be used for the item Image.
These image is stored in a binary datafield inside MS SQL.
Today I am able to populate the treeview items/nodes via binding in XAML but not sure how to bind the item images.
Find below the XAML with the current binding to populate the treeview:
Can you please give me some guidance as to how I can bind the Item Image in XAML as well.
Assuming the Property containing the bitmap is called: Node.Image
Regards,
Flippie
I have a database table containing not only the text details of each node but also the Images that should be used for the item Image.
These image is stored in a binary datafield inside MS SQL.
Today I am able to populate the treeview items/nodes via binding in XAML but not sure how to bind the item images.
Find below the XAML with the current binding to populate the treeview:
<
sdk:HierarchicalDataTemplate ItemsSource="{Binding Nodes}">
<TextBlock Text="{Binding Path=Node.Value}"/>
</sdk:HierarchicalDataTemplate>
Can you please give me some guidance as to how I can bind the Item Image in XAML as well.
Assuming the Property containing the bitmap is called: Node.Image
Regards,
Flippie