A Primer on WebView.NavigateToLocalStreamUri

Scenario A forum post recently asked about navigating to a page that that contains images that are accessed using the ms-appdata:/// URL protocol.  His problem was that he’d placed images in his application’s local folder and wanted to use WebView.NavigateToString to show some dynamically-generated HTML content that referenced these images. However, when loading the content…

4

Ten Things You Need to Know About WebView - An Update for Windows 8.1

If I’ve learned anything in the past year that I initially wrote Ten Things You Need to Know about WebView, it’s that WebView continues to be one of the most used controls in Windows Store apps.  It is a control that many people are looking to manipulate and hack in order to bring additional functionality…

1

Binding HTML to a WebView with Attached Properties

It’s been said that if you aren’t data binding you aren’t really using Xaml, and a frequent topic on the forums is how to bind HTML from a data model to a WebView. The problem: we bind data to properties, but the WebView doesn’t have a property to bind to. An app sets the WebView’s…


WebView Magic Tricks: Zoom Levels

One question I’ve heard a few times in the MSDN Windows Store App forums is about how to resize the content of the WebView.  In my second post of the WebView Magic Tricks series, I explain how we can manipulate the content by using CSS that is fully supported by WebView and apply it without much hassle. …

4

About WebView and Fonts...

In my previous blog post, I posted some information about using a font which is included as part of the appx package (point #9) which turned out to be not correct.  I took that information from this post on the Windows Store C# forum. Since then, I’ve received requests to more fully explain how to achieve this…

5

Ten Things You Need to Know About WebView

  Hi – I am Matt Small, a Sr. Escalation Engineer on the Microsoft Windows Store Developer Solutions team.  I have been working on Windows 8 since before the Release Preview, and I have spent many hours working in the Store forums, primarily in the C# forum.  I’ve seen a *lot* of posts on the…

31