Using WPF, I was able to implement drag and drop to reorder items in a list (view or window), as well as drag items between lists.
Now I'm trying to figure out how to implement drag and drop using NESTED lists.
For example, I have a list containing projects, and each element of the project contains a different list of tasks. I want to be able to drag and drop to reorder projects, as well as reorder tasks and move them between projects.
I have code that successfully executes one of the others, but I cannot figure out how to do this.
There seems to be some kind of painful solution that would include testing for success and possibly the z-order of nested lists, but I can't find examples of this.
Can anyone suggest any pointers?
FYI: The working code that I have just implemented is based on the following two excellent WPF drag and drop articles:
http://bea.stollnitz.com/blog/?p=53 http://www.codeproject.com/KB/WPF/ListViewDragDropManager.aspx
Scrappydog
source share