鼠标点击和触摸屏触摸有什么不同? [英] mouse click and touch screen touch are different ?

查看:1204
本文介绍了鼠标点击和触摸屏触摸有什么不同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究WPF和c#上的项目。如何在触摸屏中使用该软件,即不使用鼠标。

请任何人帮助我

解决方案

鼠标点击&触摸是一样的



触摸只是做鼠标工作但它更友好。



使用用于创建触摸屏应用程序的鼠标单击事件

并且您需要触摸屏设备(监视器)作为输入设备否则附加鼠标如果您这样做没有触摸屏设备。



快乐编码!

:)


在WPF中鼠标和触摸事件是不同的。

   



触摸我们需要的事件分别照顾WPF中预定义事件的帮助。

这里我想举一个例子:

普通屏幕:'点击'事件适用于按钮

触摸屏:PreviewTouchUp事件将触发按钮



与按钮一样,其他WPF控件具有特定的触摸事件,因此我们需要根据我们的要求进行操作。


I am working on project which is on WPF and c# . how can i use this software in touch screen , i.e without using mouse.
Please anyone help me

解决方案

mouse click & touch are same

touch is simply do work of mouse but it is just more friendly.

use mouse click events for create touch-screen applications
and you required touch-screen device(monitor) as input device else attach mouse if you do not have touch-screen device.

Happy Coding!
:)


In WPF mouse and touch events are different.


Touch events we need take care separately with the help of predefined events in WPF.
here I want to put one example :
Normal Screen : 'Click' event will work for button
Touch Screen : 'PreviewTouchUp' event will fire for button

Like button other WPF controls has specific touch events,so we need to take care based our requirements.


这篇关于鼠标点击和触摸屏触摸有什么不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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