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
388
How To Drag and drop records to arrange them ?
posted

I want to let the user to reArrange the displayed records

 

by  making drag and drop between records could any one tell me the first steps to do that

  • 69686
    Suggested Answer
    posted

    Hello,

    I have attached an example of how to drag and drop records from one grid to another, also from one grid to itself.

    I had to delete the images to decrease the volume of the project because of limitations.

    Alex

    DragDropXamGrids.zip
  • 28464
    posted

    Hello,

    There is nothing that is inhrerently built in the grid to support that, but you can probably build something on your own. A very good place to start is the following article by Josh Smith on Code Project

    http://www.codeproject.com/KB/WPF/ListViewDragDropManager.aspx

    and some other articles that derive from it:

    http://www.codeproject.com/KB/WPF/WPF_Drag_And_Drop_Sample.aspx