Adding Hyperlink to TextBlock : TextBlock « Windows Presentation Foundation « C# / C Sharp
- C# / C Sharp
- Windows Presentation Foundation
- TextBlock
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="3">
<TextBlock Margin="3" TextWrapping="Wrap">
This is a simple page.
Click <Hyperlink NavigateUri="/PageLibrary;component/SharedPage.xaml">here</Hyperlink>.
</TextBlock>
</StackPanel>
</Page>
Related examples in the same category