Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/90.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 如何在文本块中显示HTML内容_C#_Html_Wpf_Silverlight_Windows Phone 8 - Fatal编程技术网

C# 如何在文本块中显示HTML内容

C# 如何在文本块中显示HTML内容,c#,html,wpf,silverlight,windows-phone-8,C#,Html,Wpf,Silverlight,Windows Phone 8,我正在开发Windows Phone 8应用程序,我有一个xml,其中一个包含以下数据: <text><![CDATA[Identify the following sentence. <I>King of Forest is Lion.</I>]]></text> 森林之王是狮子。]]> 我有一个文本块显示以下内容: 输出:森林之王是狮子。 但是带标记的整个文本应该用斜体显示。我怎么做呢?我想这会帮助您了解您在寻找什么

我正在开发Windows Phone 8应用程序,我有一个xml,其中一个包含以下数据:

<text><![CDATA[Identify the following sentence. 
<I>King of Forest is Lion.</I>]]></text>
森林之王是狮子。]]>
我有一个文本块显示以下内容:

输出:
森林之王是狮子。

但是带标记的整个文本应该用斜体显示。我怎么做呢?

我想这会帮助您了解您在寻找什么