成都网站设计师,做网站建设的销售薪水,网站群发软件,代理网址是什么意思Windows 8.1 新增控件之 Hyperlink 原文:Windows 8.1 新增控件之 HyperlinkHyperlink 控件应该不用过多介绍大家肯定十分清楚其作用#xff0c;它的功能就像HTML中的a href””标签一样#xff0c;只不过是在XAML中实现。 使用Hyperlink 标记的文字在应用中会以特殊颜… Windows 8.1 新增控件之 Hyperlink 原文:Windows 8.1 新增控件之 HyperlinkHyperlink 控件应该不用过多介绍大家肯定十分清楚其作用它的功能就像HTML中的a href””标签一样只不过是在XAML中实现。 使用Hyperlink 标记的文字在应用中会以特殊颜色显示当用户点击或触碰该文字时就会自动转到NavigateUri 指向的地址链接。如下代码所示 TextBlock FontSize50 FontWeightBoldGetting started tutorials for Windows/TextBlock
TextBlock FontSize25 FontWeightBoldNew to Windows 8.1 or Windows RT 8.1?/TextBlock
RichTextBlock FontSize30 Width800 HorizontalAlignmentLeftParagraphYoure at the right place. Whether youre brand new to Windows 8.1 or Windows RT 8.1, or just want a refresher,Hyperlink NavigateUrihttp://windows.microsoft.com/en-us/windows/how-to?ocidGA8-1_O_WOL_Hero_Home_HowTo_Pos2_01these 10 tutorials will show you the basics./Hyperlink/Paragraph
/RichTextBlock 我们把段落中一句文字用NavigateUri 指向特定网站链接链接颜色默认显示为紫色可以用Foreground 属性调整颜色。 点击Hyperlink 后应用会打开网页如下图所示 关于Hyperlink 的其他属性可参考 http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.documents.hyperlink.aspx posted on 2014-03-08 15:01 NET未来之路 阅读(...) 评论(...) 编辑 收藏 转载于:https://www.cnblogs.com/lonelyxmas/p/3587932.html