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
425
XamDataTree
posted

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.

Parents
  • 138253
    Offline posted

    Hello,

     

    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.

Reply Children