I have a list with strings which i would like to turn into a Tree view. The strings are the folder names of ones (exchange) Inbox. The strings would look like this
string a "Username\Inbox"
string b "Username\Inbox\Subfolder"
string c "Username\inbox\subfolder"
string d "Username\Createdfolder"
string e "Username\Createdfolder\subfolder"
I have all those strings in a list and would like to turn it into a treeview. I have read i could turn it all into XML and it would be able to load it. But to be honest i dont know where to start to make this into xml so i can bind it to a treeview. Ofcourse if there is a better way to bind them please tell me.