I have a very simple screen which shows some content and a hyperlink. As the hyperlink is spread over multiline I can't use WPF button as it would move the whole link into a new line which is not acceptable by the client.
This is a Caliburn micro MVVM application and I handle the process of opening the link in my method in the view model. I don't want to use code-behind thus need to bind the RequestNavigate event of the hyperlink.
Code for rich textbox is
<RichTextBox FontSize="13" BorderThickness="0" IsDocumentEnabled="True" IsReadOnly="True" Block.TextAlignment="Center" Width="270">
<FlowDocument>
<Paragraph>
Download Failed. Please
<Bold>check your connection and try again or</Bold>
<Hyperlink >contact your provider</Hyperlink>
</Paragraph>
</FlowDocument>
</RichTextBox>
Output is