当我们需要在文本中显示下划线的时候我们可以在wp中用
this.ContentText.TextDecorations = TextDecorations.Underline ;
但是在win8中TextBlock没有上面那个属性,但是我们可以在前台文件中用
<TextBlock TextWrapping="Wrap" >
<Underline>
dfafdafd
</Underline>
</TextBlock>
但是在后台怎么用代码实现,还没有找到怎样做?