Relativity
Relativity

Reputation: 6868

How to implement single item DragDrop WPF Listview in MVVM way?

I have two listviews (and Gridview inside that) inmy WPF/MVVM application. How would I implement Drag/Drop for single item in this case?

Any help would be appreciated. Thanks

Upvotes: 5

Views: 11082

Answers (2)

Nivid Dholakia
Nivid Dholakia

Reputation: 5462

I have made a sample application where you can have an idea about how it works with the MVVM i have ItemsControl ListView and another Listview Where you can drag and drop single item. you can find it here a project named DragDropItems Credit Bea Stollnitz's

Upvotes: 10

Rachel
Rachel

Reputation: 132618

Usually for DragDrop I use the code found at Bea Stollnitz's Blog. It's simple, easy to understand, and easy to modify as needed.

Upvotes: 3

Related Questions