如何以MVVM方式实现单项DragDrop WPF Listview? [英] How to implement single item DragDrop WPF Listview in MVVM way?
本文介绍了如何以MVVM方式实现单项DragDrop WPF Listview?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何帮助将不胜感激。谢谢
解决方案
我已经做了一个示例应用程序,您可以在其中了解如何与MVVM一起使用我拥有ItemsControl ListView和另一个Listview您可以拖放单个项目。
您可以找到 here 一个名为DragDropItems Credit的项目 Bea Stollnitz的
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
解决方案
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
这篇关于如何以MVVM方式实现单项DragDrop WPF Listview?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文