I've got a HTML string and I just want to show how it looks like.
How can I show this string so that it looks like an HTML page?
Try using
<Frame Source="page.html" ... />
or WebBrowser
see MSDN link here
I guess you'll have to use <WebBrowser>
control. you will need to call the NavigateToString
function. Check out http://blogs.msdn.com/b/llobo/archive/2008/06/12/wpf-webbrowser.aspx
You can use a WebBrowser
control, and the NavigateToString
method as described here - Set System.Windows.Controls.WebBrowser's content to a static HTML literal?
You can use the Webbrowser control to achieve this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With