I am having a treeview in a usercontrol and am trying to bind the node image .But it only works if i gave the entire full path of the image. Finally i found out if a treeview is inside an usercontrol relative paths wont work. So how can i assign am image to a node which was inside the user control..??/
DefaultImageSrc="/MyOtherProject;component/Images/File.png".
the above will work for usercontrol they have mentioned. Can it be explained ..? whats MyOtherProject,component etc.
Note:
My usercontrol was in the same project in which i work.My solution name is TreeView_WPF_Customized and the image was inside the Resources folder.
How to display the image my scenario..??