The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebBrowser.NavigateToString Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Injects an HTML string into the web browser control for rendering.

Namespace:  Microsoft.Phone.Controls
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public void NavigateToString(
	string html


Type: System.String
The HTML to display in the browser.

The html parameter should be formatted as HTML. The text parameter can also contain JavaScript. If there are JavaScript functions contained in the HTML, you can use the InvokeScript method to call the functions from managed code.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone