[ACCEPTED]-WPF DataGrid: Reordering Rows?-wpfdatagrid

Accepted answer
Score: 11

Sorry--bad key word choice. Early morning, no 3 coffee...

Turns out there are a number of 2 samples, under "WPF DataGrid Drag and 1 Drop". Here are three:

Vincent Sibal's Blog
Philipp Sumi's Blog

Score: 4

I would suggest using the drag and drop 5 behavior called GongSolutions.WPF.DragDrop. It works on any ItemsControl and thus 4 also on DataGrid It allows MVVM style use cases 3 using attached property setters to enable 2 it. You should check out the link for a 1 simple example.

More Related questions