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
790
How to Drag Drop within same XamDataTree using Drag Drop Manager to be able to apply different templates
posted

Hi,

I would like to drag/drop nodes in XamDataTree using drag drop manager, instead of datatree built in support, so that I can apply common drag/cursor templates.

Inside drop method the drop event arg's drag source and drag target gives me the same node/data reference, because of this I cant drag drop successfully.

However this works fine with if i use built in data tree drag drop support, but I cant apply any templates  Please help.

Parents
  • 138253
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into it and I can suggest you use the built-in Drag & Drop functionality, because by handling the XamDataTree’s NodeDraggingStart event you can use the DragDropStartEventArgs object in the handler and set the DragTemplate and CursorTemplate. Please let me know if this helps you or you have further questions on this matter.

     

    Looking forward for your reply.

Reply Children