Displaying Web Content with the WebBrowser Element

Whereas the phone’s built-in web browser can be launched from your app to view content on an external website, the WebBrowser control allows the user to view content directly from your app.

The WebBrowser control also allows you to host HTML content within your app, something the built-in web browser does not. It provides for static content loaded from a string or via a relative URI to a page located in isolated storage, or for live content from the Web, using an absolute URI. You can generate HTML and pass it to the WebBrowser control at runtime, and you can download content, save it to isolated storage, and display it later. The control responds to touch: a double tap zooms in, and the pinch ...

Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.