Drag & Drop from Grid to Grid?

3 posts, 0 answers
  1. ITA
    ITA avatar
    383 posts
    Member since:
    Aug 2009

    Posted 13 Feb 2012 Link to this post

    Hi,

    is there any Example how to use Drag & Drop from DataGrid to Datagrid + From one mvvm to an other mmvm?

    Thanks
    Regards
    ww
  2. Nick
    Admin
    Nick avatar
    593 posts

    Posted 14 Feb 2012 Link to this post

    Hi,

    Are you referring to the RadGridView or Microsoft's DataGrid? 
    If the question is about the RadGridView, you can use the GridViewDragDropBehavior. I am attaching a sample project that demonstrates how you can achieve the behavior. 
    If you referred the Microsoft's DataGrid, you can create a custom attached behavior where you can handle the DragDrop events and implement the logic you desire. 

    Hope this helps!

    Regards,
    Nik
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Wenjie
    Wenjie avatar
    35 posts
    Member since:
    Mar 2013

    Posted 17 Jul 2013 Link to this post

    tear out hair out


    e.DragVisual=NewTelerik.Windows.DragDrop.DragVisual()
     
    not Telerik.Windows.Controls.DragVisual()
Back to Top