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
60
How to Use Drag and Drop but not delete the data from the source in XamDataTree ?
posted

Hi All

I used Drag and Drop between 2 XamDataTree(One is the source , one is target ), but after drop to the target XamDataTree, the drag is removed from the source XamDataTree.

I want to keep the item in the source XamDataTree. how to do this?

Parents
  • 138253
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into and I created a sample project for you with the functionality you want. Basically I set the XamDataTrees’ AllowDragDropCopy Property to true, which means that you hold “Ctrl” key while dragging, the DragDropEventArgs’ OperationType is Copy and you can implement copying of the Node instead the built in Move operation. Also you should drop the Node over another Node, not between two Nodes. Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

    DDBetweenTrees.zip
Reply Children