Touch和Stylus WPF有什么区别 [英] What is the difference between Touch and Stylus WPF

查看:35
本文介绍了Touch和Stylus WPF有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为我的 wpf api 添加触摸功能.我对如何使用感到困惑.有手势、触摸和手写笔.

I want to add touch-features to my wpf api. I m confused of how to use. There is Gesture, Touch and Stylus.

我找不到 Stylus 和 Touch 的不同之处.

I could not find out where Stylus and Touch differ from each other.

谢谢

推荐答案

Touch:

提供应用级服务,处理来自操作系统的多点触控输入并引发 FrameReported 事件."

手写笔:

提供对 Tablet Pen 的一般信息的访问."

但是,如果您开发一个支持触摸屏的应用程序,您会发现它们的事件并不是由于冒泡事件而完全隔离和分离的(见附图).

However if you develop an application with touch-screen support you will realize that their events aren't relly isolated and separated due bubbled events (see attached image).

您可以在此处阅读有关操作的信息a> 和 此处.

这篇关于Touch和Stylus WPF有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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