wpf打开自己创建窗体中的超链接
1、xaml
<TextBlock Height="80">
For more information, see
<Hyperlink NavigateUri="http://baidu.com" Click="Hyperlink_Click">Baidu.com</Hyperlink>.
</TextBlock>
2、xaml.cs
privatevoid Hyperlink_Click(objectsender,RoutedEventArgse)
{
System.Diagnostics.Process.Start("http://baidu.com");
}
3、运行效果
//CSDN 上传 gif 文件有问题,所以效果显示不出来啦。见谅!