private void ExecuteOpenExternalLink(object sender, ExecutedRoutedEventArgs e) { Hyperlink hyperlink = e.OriginalSource as Hyperlink; if (hyperlink != null && hyperlink.NavigateUri != null) { UIUtility.LaunchExternalLink(hyperlink.NavigateUri); e.Handled = true; } }
private void OnViewLicenseTermsRequestNavigate(object sender, RoutedEventArgs e) { Hyperlink hyperlink = (Hyperlink)sender; if (hyperlink != null && hyperlink.NavigateUri != null) { UIUtility.LaunchExternalLink(hyperlink.NavigateUri); e.Handled = true; } }
private void OnMigrationUrlNavigate(object sender, RoutedEventArgs e) { var hyperlink = (Hyperlink)sender; if (hyperlink != null && hyperlink.NavigateUri != null) { UIUtility.LaunchExternalLink(hyperlink.NavigateUri); e.Handled = true; } }
private void OnMigrationHelpUrlNavigate(object sender, System.Windows.Navigation.RequestNavigateEventArgs e) { var hyperlink = (Hyperlink)sender; if (hyperlink != null && hyperlink.NavigateUri != null) { UIUtility.LaunchExternalLink(hyperlink.NavigateUri); e.Handled = true; } }
public void LaunchExternalLink(Uri url) { UIUtility.LaunchExternalLink(url); }