Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to show basic HTML Windows8 Metro style TextBlock?

I have an html page that only contains <p>, <strong>, <br /> and <a> tags. I want to show this content in a XAML TextBlock in Windows 8. Is there any way to show that content in a TextBlock without losing the structure (e.g. paragraphs)? I don't want to use WebView because WebView can not be transparent.

like image 635
ipman Avatar asked Jul 15 '12 10:07

ipman


1 Answers

I am developing a open source Windows 8 Metro RSS Reader app and I used HtmlUtilities.ConvertToText

You can see the source code implementation here http://metrorssreader.codeplex.com/SourceControl/changeset/view/17913#265003

like image 119
Zubair Ahmed Avatar answered Oct 05 '22 20:10

Zubair Ahmed