Using the HtmlDisplayer Control

The HtmlDisplayer control is a part of Bewise Phone Controls current release. To use it, add the BPC library to your project.

This control will display Html content. The control is not made for browsing internet pages, but to display html content without breaking the “metro” guidelines :

- The background color and the font color are the user’s phone theme colors (unless another color is specified in the html code)

- The links colors are the user’s accent color

In order to use it, just insert the control in your page, and call the DisplayHtml(String) method, with the html content as parameter.

You have an event Navigating that can be used to intercept page navigation. The default behavior will open the phone’s browser.

Last edited Feb 21, 2012 at 3:22 PM by guillaumelac, version 2

Comments

No comments yet.