programming-examples/c-sharp/Others/Adding Hyperlink to TextBlock.cs

17 lines
505 B
C#
Raw Normal View History

2019-11-15 12:59:38 +01:00
Adding Hyperlink to TextBlock
<Page x:Class="NavigationApplication.LinkToAssemblyPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="LinkToAssemblyPage">
<StackPanel Margin="4">
<TextBlock Margin="4" TextWrapping="Wrap">
This is a simple page.
Click <Hyperlink NavigateUri="/PageLibrary;component/SharedPage.xaml">here</Hyperlink>.
</TextBlock>
</StackPanel>
</Page>