I am using RadTreeView in WPF and need to support drag and drop in the tree view both to move nodes to different 'folders' as well as reorder nodes within a folder. A variety of conditions need to be met for a node to support drag and/or drop so I started by implementing drag and drop directly using the DragDropManager as opposed to the tree view's built in drag/drop behavior. I could not figure out how to reorder nodes using this approach so I reworked it to use the Tree View's drag drop support.
The problem with the later approach is that I don't want the tree view to automatically process the drop. I need to do it to make sure things stay in synch etc. I tried adding my own drop handler and setting e.Handled to true but it was too late. The tree view had already rearranged the data. So, the question is two fold I guess.
1) Is there a way to implement something like the move before/after in the built in drag drop support so I can reorder my tree using the DragDropManager directly?
2) Is there a way to override the drop behavior of the built in drag drop support so I can handle updating the data and hence make sure the rest of the system stays in synch?