Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have a Win form C# application with one TreeView. I can Drag and Drop from above node to below node but not able to drag a below node to above a node.

What I need .....

I need the easiest way to allow a node to be dropped between nodes. In other words, I need to allow the ability for my users to be able to reorder the nodes the way they need to(a single node) but not moving an entire parent/child group. I also want prevent a drop on particular nodes. Showing a line to indicate where the dragged node will drop would be great as well.

Can someone please help me?
Posted
Updated 3-Feb-14 20:21pm
v2

1 solution

I think that should work for you:
TreeView Rearrange[^]
 
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