TextBlock显示超链接 [英] TextBlock to display the hyperlink

查看:110
本文介绍了TextBlock显示超链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要单击启用TextBlock中的超链接.


例如,

如果TextBlock的内容是"Hello http://com.com ex",
我想成为http://com.com点击的一部分.

是一种将文字显示在网络上的方法.

* TextBlock的内容显示网格控件的内容


我该怎么办?

I want click a hyperlink in TextBlock is enable.


For example,

if contents of the TextBlock is "Hello http://com.com ex",
I want to be part http://com.com click.

Is a way to bring the text to show on the web.

* content of the TextBlock Shows the contents of the Grid Control


How Can I?

推荐答案

[
This[^] should guide you to what you want to do.


优素福是正确的.例如:
Yusuf was correct. For example:
<TextBlock>
    <TextBlock>Click </TextBlock>
    <Hyperlink NavigateUri="http://www.google.com/">
        http://www.google.com/
    </Hyperlink>
    <TextBlock> to go there.</TextBlock>
</TextBlock>


这篇关于TextBlock显示超链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆