按下控制键时不会发生多次拖放 [英] Multiple Drag and Drop not happening when control key in pressed

查看:76
本文介绍了按下控制键时不会发生多次拖放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经在WPF uisng MVVM体系结构中实现了对数据网格的多次拖放.

我面临的问题是,当按下Shift键时仅发生拖放操作,而不是按下控制键时发生拖动操作.

如果发生任何问题,可以让我吗?

提前谢谢!

问候
Govardhan

Hi,

I have implemented multiple drag and drop on datagrids in WPF uisng MVVM architecture.

Problem I am facing is when shift is key pressed then only drag and drop is occurring rather than when drag happen when control key is pressed.

Can you let me if anything went wrong?

Thanks in advance!

Regards
Govardhan

推荐答案

找到解决方案.

这是因为我在viewmodel类中实现了放置功能,因此遇到了这个问题.

现在已解决.

问候
Govardhan
Got the solution.

It is because I implemented drop functionality in the viewmodel class, because of which i faced the issue.

It is resolved now.

Regards
Govardhan


这篇关于按下控制键时不会发生多次拖放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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