Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
515
XamDataTree - Drag/Drop Multiple Nodes Between Trees
posted

Hi,

I have a situation in which I need to drag multiple XamDataTreeNodes between two XamDataTrees on the same Silverlight user control, but I haven't been able to find examples of how to do this.

So I need to answer two questions:

1. Is it possible to drag/drop between two XamDataTrees?
2. Is it possible drag/drop multiple nodes in one action?

I have enabled the IsDraggable and IsDropTarget properties on both my source and target trees as well as on the nodes that I plan to drag/drop. The drag feature seems to be enabled on my source tree/nodes, but the tree/nodes on which I plan to drop the source nodes don't seem to be enabled as a drop target.

Thanks for your help.

Regards,

John

Parents
No Data
Reply
  • 21382
    posted

    Currently you cannot drag drop multiple nodes in the tree, this is something on the backlog for future development.

     

    In order to drag between two trees you will have to handle the drop event and add the nodes to the destination collection.  

Children