如何禁用整个应用程序的持有事件全局 [英] How can I disable holding event globaly for whole application

查看:63
本文介绍了如何禁用整个应用程序的持有事件全局的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不想在申请时举办活动。如何禁用它以在保持指针动作时不显示灰色框。有没有办法为所有UIElements设置IsHoldingEnabled = false。

I do not want to have holding event on application. How can I disable it to not show gray box on hold pointer action. Is there way to set IsHoldingEnabled = false for all UIElements.

感谢您的帮助。

推荐答案

您可以遍历当前页面的所有子项并将其设置为这样。 
You could loop through all of the children of the current page and set it that way. 


这篇关于如何禁用整个应用程序的持有事件全局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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