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.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Parameters
- 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.
Show: