开发者

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

开发者 https://www.devze.com 2023-04-11 06:44 出处:网络
I have two listviews (and Gridview inside that) inmy WPF/MVVM application. How would I implement Drag/Drop for single item in this case?

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 appreci开发者_如何转开发ated. Thanks


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消