阅读背景:

如何判断WPF中的键盘或鼠标是否触发了按钮单击事件?

来源:互联网 

Is there a simple way to tell what triggered Click event of a Button apart from setting multiple flags in Mouse/Key Up/Down event handlers? I'm currently only interested in distinguishing mouse from everything else, but it would be nice to handle Stylus and other input types if possible. Do I have to create my own button control to achieve this?Is there a simple way to tell what triggered Cl




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: