How to handle HTML content in Windows 8 Metro App

html, microsoft-metro, windows-8

Solution

As JP Alioto mentioned you should use the WebView control.

You can use the NavigateToString method to load the HTML. Or use Navigate to request a URI.

There are issues however with using the WebView control, specifically it is rendered differently and is not a standard control, this means things like your app bar or settings pane will not render on top of the WebView, there is a workaround by using the WebViewBrush to "paint" the WebView to standard control such as a rectangle when needed.

Problem

I'm designing a Windows 8 Reader App, and I have to use a control to show the HTML content, which is fetched from some website feeds. Cause those HTML content may contains images or some other formatted text, now I'm using a richtextblock to show the HTML content, but it costs a lot of time to parse the HTML content. So I'm wondering if there is any controls that can handle the HTML content except the WebView. Thanks. Updated: The reason I can't use WebView is that I need to implement pagination, like the image belowed:

Original source