Wednesday, January 29, 2014

WebView DoubleTapped-Tapped event

This is a by-design behavior. Basically the HTML page handle all the click events and the input will not bubbling to XAML, for this reason, the tap or double tap event cannot be fired.


If you need to display an additional panel after double click on the WebView, I think this API could be useful: ScriptNotify event, you could monitor the double click event on HTML by JavaScript and passing the event out to XAML.


If you are working with 8.0 App, this blog article should help you a lot: http://ift.tt/1gsA235


--James




<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>

Thanks

MSDN Community Support



Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


No comments:

Post a Comment