I have the following structure of data:
public class Entry
public string Name;
public string Descrption;
public bool IsDirectory;
public string PathToFile;
I got a List<Entries> which contains several Entries which contains also List<Entries>.
This is to show a folder structure and the files in it to create links for downloads.
How can I bind this to a TreeView to visualize this data and if it is a file to create it as a link?