Hello,
Using latest version 11.2 :
I am using XamDataTree in my application.
I set IsDraggable=True on the Tree and then I am able to drag my nodes over others nodes, that works fine.
However, now I want to also be able to drag the node to another control, simple TrashCan image in my case, with IsDropTarget set correctly.
When the node passes over the control, it is not allowed.
If I remove the IsDraggable from the XamDataTree and implements the DragSource for each items, I can drag it to the control, but I can't drag my nodes in the tree anymore.
Can you help me out? I don't want to recreate the whole drag logic inside the tree.
Thank you, very appreciated.
Thank you for your post. I have been looking into it and I suggest you see this forum thread:
http://blogs.infragistics.com/forums/p/55209/319710.aspx
where it is shown how to drag & drop nodes between two XamDataTrees, which I believe can help you achieve your goal. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
No, I haven't mentionned dragging from one tree to another tree.
A) I've said that I am dragging nodes from a single tree on the same tree. This work fine alone.
B) When I wanted to add nodes drag to others controls such as "<Ìmage>" with a DropTarget tag, I had to add the drag source to each node and it removed the capability of dragging nodes on the same tree as explained in A.
To summarize and make sure it is 100% clear :
I want to drag nodes on the same tree AND drag nodes to others controls using your Drag and Drop framework.
Simon