<TextBlock>
<Hyperlink NavigateUri="https://gitee.com/idengwei" Click="Hyperlink_Click">
https://gitee.com/idengwei
</Hyperlink>
</TextBlock>
private void Hyperlink_Click(object sender, RoutedEventArgs e)
{
Process.Start((sender as Hyperlink).NavigateUri.AbsoluteUri);
}
网友评论