Hi can you please send in some samples that illustrate the channels in drag and drop in xamtree, i want to allow for drag and drop between the xamgrid and xamtree... and also allow dragging of multiple items in a xamtree.
Would like to see if i can get it to work for mine,
Harisha,
Attached is an incomplete sample (NetAdvantage 10.2 in Silverlight 4) based on something I got courtesy of Alex F. You can drag XamTree nodes to the XamGrid. I am trying to get the drag-drop to work in the other direction (Grid to Tree) but I haven't figured out the proper templating so I can drag the UIElement representing the cell of the grid...it just drags the whole Grid for now.
I'll update the thread again when I have it working both ways.
Thanks,
Francis
Here is an updated version of the sample. There is drag-drop functionality going in both directions between the XamTree and XamGrid, though it is far from perfect. I hope it proves useful as a starting point...let me know.
Hi Francis,
Thankyou for looking into the items I appreciate your response, i will try out the templates and try to get mine working.
If you have any questions along the way, please feel free to update the thread.
I can run the sample with no problems. However I would like to be able to dragdrop multiple treeview items at a time. If I set the treeview to multi selection, when you do the drag process it deselects all but the one the mouse is over.
Can you help?Thanks.
Doug