简体   繁体   English

WPF ::如何拖放标签

[英]WPF :: how to drag and drop labels

i want to achieve drag and drop on labels to a grid on my app, i don't know how should i do that, should i use normal mouse events? 我想在我的应用程序上实现将标签拖放到网格上的功能,我不知道该怎么做,应该使用正常的鼠标事件吗? is there anything special that will make my life easier in WPF? 有什么特别的东西可以使我在WPF中的生活更轻松吗?

i'm not asking for a solution, i read tons of WPF example, but all talking about Dragging files to my app, but i found nothing about dragging Controls to a Grid on something like that can you help ? 我不是在寻求解决方案,而是阅读了很多WPF示例,但是都在谈论将文件拖到我的应用程序中,但是我发现在诸如此类的控件上将控件拖到网格上没有任何帮助吗?

Thanks 谢谢

如果我了解您的权利,请尝试以下方法: http : //vijaykamat.blogspot.com

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM