Files {get; set;} } class File { String FileName {g..." />

Wpf Treeview bind base on Project Folder Structure?

You can make use of a erarchicalDataTemplate toolkit:erarchicalDataTemplate x:Key="FileTemplate" > Files {get; set;} } class File { String FileName {get; set;} } You would then set the DataContext of the TreeView to ObservableCollection.

You can make use of a erarchicalDataTemplate Your business objects could look something like this... class Manufacturer { String Name {get; set;} ObservableCollection Files {get; set;} } class File { String FileName {get; set;} } You would then set the DataContext of the TreeView to ObservableCollection.

– Kev84 Jan 31 at 20:25 @Kev84 You would lose the hierarchical aspect then...it would become flat since your file would be at the same tier as your manufacturer. A parent -> child relationship exists; no way around that with the current requirements. You could manually build out the tree but using the erarchicalDataTemplate and putting a wrapper object in place would be a much more robust and elegant approach.

– Aaron McIver Jan 31 at 20:50 Thanks a lot. That worked great. – Kev84 Jan 31 at 21:57.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions