Click here to Skip to main content
15,900,681 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to arrange treeview node dynamically(user end) using C# code
Posted
Comments
Sandeep Mewara 6-Jul-10 2:32am    
What do you mean by 'arrange'? care to elaborate on what you are trying?
[no name] 6-Jul-10 4:17am    
Can you throw more light on the word "arrange"?
Pavel Yermalovich 6-Jul-10 5:56am    
May be you mean BIND?

1 solution

I think you're wanting to allow the user to move treeview items up or down or between levels. Is that correct?

If so, you either need to create a set of buttons to do that (a right, left, up, and down button) and enable/disable based on the current selection. Or you need to implement drag and drop. Drag and drop is probably what you're thinking of. There is a lot of information out there on implementing drag and drop for treeviews. There are also controls on Code Project that have drag and drop automatically enabled.
 
Share this answer
 

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