Click here to Skip to main content
15,900,907 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i can make 2 root node in a single treecontrol in
please help me..

1 solution

Any call to TreeControl.Nodes.Add() adds a root node item. If you can add one root item, you can add as many as you want using the same method.
Share this answer
rahuls1 27-Nov-13 7:40am    
i want to add root node in horizontal way..
Ron Beyer 27-Nov-13 8:12am    
Thats not possible without making a custom treeview, are you using WinForms or WPF?

Why not just use multiple treeview's?
rahuls1 27-Nov-13 13:00pm    
i am using winform plaese give some idea..
Ron Beyer 27-Nov-13 13:20pm    
I'm sorry but this is way too complicated to answer in a "Quick Answer" forum. Can you explain what you are trying to do? Maybe start a topic in one of the forums with more explanation.

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