拖放的例子吗? [英] Drag and drop example?

查看:170
本文介绍了拖放的例子吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个简单的问题,我在网上搜索了,但是我实在无法找到一个例子。我只是需要一些简单的:我有2列表视图,我想有拖放。但它必须是在WPF和MVVM。我发现的例子并不是说clear.I有问题,处理事件。谁可以帮我,并提供一个良好的链接到一个很好的例子或教程?

I have a simple question,I searched the internet already but i can't really find an example. I just need something simple: I have 2 listviews and i want to have drag and drop. But it has to be in WPF and MVVM. The examples i found weren't that clear.I have problems with handling the events. Someone who can help me out and give a good link to a nice example or tutorial?

推荐答案

看看 GongSolutions .Wpf.DragDrop 。是一个拖放框架WPF。它的工作原理与MVVM,多选,...的TreeView,并非常容易使用。

Take a look at GongSolutions.Wpf.DragDrop. Is a drag'n'drop framework for WPF. It works with MVVM, multiple selections, TreeViews... and very easy to use.

下面是两个教程:

  • Drag and Drop in WPF
  • Drag and Drop in WPF - Part II

这篇关于拖放的例子吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆