WPF拖放 [英] WPF Drag and Drop
本文介绍了WPF拖放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何实现拖放下载WPF应用程序?我可以打开2个相同的应用程序,并将对象从一个拖动到另一个。这是我要拖动的:
How to implement drag & drop for a WPF application? I could open 2 the same apps and drag an object from one to another. Here's what I want to drag:
<Grid Width="100" Height="50">
<Rectangle BackGround="Red"/>
<TextBlock>Hello World</TextBlock>
</Grid>
网格必须在其他应用程序中看起来是一样的,因为它是从拖累。任何解决方案?
The Grid has to look the same in the other app where it is dragged as the one from it was dragged. Any solutions?
推荐答案
过去,我已经使用Gong Solutions拖放成功,这是一个非常容易使用的DLL。你可以在这里看到一个小样本:锣解决方案
I've used Gong Solutions Drag and Drop successfully in the past, it's a very easy DLL to use. You can see a small sample of it here: Gong Solutions
这篇关于WPF拖放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文