阅读背景:

嵌套的TextBlocks和Hyperlinks,你如何在C#中复制这个XAML?

来源:互联网 

I have this XAML:

我有这个XAML:

<TextBlock TextWrapping="Wrap" Foreground="Green"
           Text="This is some Green text up front. ">
    <TextBlock Foreground="Blue">
        This is some Blue text.
    </TextBlock>
    This is some Green text following the Blue text. 
    <Hyperlink>
        <TextBlock Text="And finally, this is a Hyperlink." TextWrapping="Wrap"/>
    </Hyperlink>
</TextBlock>  
<TextBlock Text



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: