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
935
xamdatagrid DragDropManager disable drop over certain records
posted

I currently using the dragdrop manager to move records both within a hieractical grid and to another grid, and would like to disable the drop, something like a selective IsDropTarget True. I would think that the DragOver event would allow checking to see if can actually drop a record but cannot see anthing to set.

 

Thanks

  • 138253
    Offline posted

    Hello,

     

    I am just checking if you got this worked out or you still require any assistance or clarification on the matter.

  • 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 in the App.xaml.cs file there is the handler for the Drop event and in it I get the Drag and Drop Record, so you can determine whether to insert the Dragged Record or not. Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

    DragDropRecordsBetweenGrids.zip