user3114009
user3114009

Reputation: 261

How to display HTML content in a textblock

I am Working on Windows Phone 8 application, i have a xml in which one of the tage contains data as below:

<text><![CDATA[Identify the following sentence. 
<I>King of Forest is Lion.</I>]]></text>

I have a textblock which is displaying this:

Output: <I>King of Forest is Lion.</I>

But the entire text which is with tag should be shown in italics.how can i do this ?

Upvotes: 0

Views: 429

Answers (1)

Jaihind
Jaihind

Reputation: 2778

I think HTMLAgilityPack will help you for what are you looking for.

Upvotes: 1

Related Questions