Click here to Skip to main content
15,559,491 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am having one structure contains node details in that structure parent,child and next node address will be there and name string also contains.for to load the names in the tree view i need to traverse a entire structure and add items in a tree then only i can able to see the tree view.

What i need is while traversing each node name need to display in a tree view dynamically

What I have tried:

i tried after adding the entire names in tree control and display the whole tree.
Posted
Updated 15-Feb-21 20:29pm
Comments
Gerry Schmitz 16-Feb-21 0:50am    
You're still not making any sense. There is a certain "vocabulary" associated with a TreeView ... yours isn't it.

1 solution

I still have no clear idea of what your question really is. But see if this old blog post of Bea Stollnitz cant help you to do what you want:
GitHub - bstollnitz/old-wpf-blog: A selection of posts from my old WPF blog.[^]
Posts 39 - 41 and posts 47 - 49 contain information on how to stuff with the treeview.

Otherwise, just take a quick search here:
Search[^]

Find an exampl of what you want to do and get back to us for help when you are stuck again.
 
Share this answer
 
Comments
Maciej Los 16-Feb-21 2:06am    
5ed!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900