Search code examples
htmlwpfdocumentviewer

Host Html Document in DocumentViewer WPF


I'd like to show an html document in the documentViewer control. How should it be done? I've searched for any examples with no success. Any idea would be apreciated.


Solution

  • DocumentViewer is designed to show XAML documents, not HTML. Use a WebBrowser or Frame instead