点击不适用于 Windows Metro 风格应用程序的 Webview [英] tapping is not working on Webview for Windows metro style apps

查看:23
本文介绍了点击不适用于 Windows Metro 风格应用程序的 Webview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当用户在 Windows 8 Metro 风格应用程序中单击 Webview 后,我都无法获得 OnTapped 事件.

I'm not able to get the OnTapped event whenever the user clicks on Webview in windows 8 metro style apps after the webview is navigatedtoString.

使用:Windows 8 发布预览版Visual Studio 2012.

using: Windows 8 Release Preview Visual Studio 2012.

推荐答案

那是因为 WebView 不是典型的 XAML 控件.因此,它不支持任何指针/手势相关事件.

That is because WebView is not a typical XAML control. Hence, It doesn't support any Pointer/Gesture related events.

这篇关于点击不适用于 Windows Metro 风格应用程序的 Webview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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