Zooming is turned on by default in a WebView
Element in Windows Store 8/8.1 Apps. How can you disable zooming in a WebView
? I don't want users on any device (especially touch devices) to zoom in and out of a WebView
. I am using c# as the programming language.
Asked
Active
Viewed 2,578 times
1
1 Answers
-2
You can't disable zoom in webview for windows store apps. AFAIK it is still won't work for windows 8.1
from here. But you can handle(resize the content) zoom of webview if you want. Look at this
Try this Sample
I believe they are using this in IE 10 Link.
Edit :
You can use RichTextBlock to display HTML string.
Hope this helpful
-
Thanks for your answer. That's what I suspected. It really doesn't seem to be possible. – Johann Feb 13 '14 at 07:58
-
@user1954801 U didn't mention what you are loading in webview. By knowing this we can any find alternative remedy for this. – Kumar Feb 13 '14 at 08:31
-
I am loading a custom html-string. – Johann Feb 14 '14 at 07:20
-
Pretty hacky solution I assume (parsing html..). With inline JavaScript and CSS, this seems to be a dead end. +1 for your effort! – Johann Feb 14 '14 at 11:15
-
1The link is down for the sample. Posting links isnt an answer – Ateik Apr 02 '18 at 11:42