NavigateUri is placed in DataContext property.
<!-- work around for buggy Hyperlink -->
<Style x:Key="HyperLink" TargetType="{x:Type Underline}">
<Setter Property="Foreground" Value="Blue"/>
<Setter Property="FontStyle" Value="Italic"/>
<Setter Property="Cursor" Value="Hand"/>
<EventSetter Event="MouseLeftButtonDown" Handler="Go_hyperlink"/>
</Style> <!-- MouseLeftButtonUp -->
...
<Underline Style="{StaticResource HyperLink}" DataContext="https://learn.microsoft.com/en-us/dotnet/api/system.windows.documents.hyperlink">HyperLink</Underline>public void Go_hyperlink(object sender, MouseButtonEventArgs e)
{
e.Handled = true;
var link = (sender as Underline).DataContext;
if (string.IsNullOrEmpty((string)link)) return;
Process.Start(new ProcessStartInfo { FileName = (string)link, UseShellExecute = true });
} // END Go_hyperlink