How to display html content converted into xaml flowdocument in wpf application
12,724
You have several options here:
- You can convert the HTML to a FlowDocument as you described and display that in one of the several FlowDocument viewer variations.
- You can show a limited subset of HTML directly in a Frame control.
- You can use Chris Cavanaugh's new WPF Chromium WebBrowser Control based on Google's Chrome browser. This control is a true WPF control and will play well in the scenario you described.
Author by
Admin
Updated on June 04, 2022Comments
-
Admin almost 2 years
My objective is to display html content in wpf application. I use brwoser control but this always goes on top of window. I search through the net and found a solution to convert the html into a flow document. But my question is how to use the conveted flowdocument in wpf application to show the html content
Please refer the below article as well.