Using Hyperlink Apllication WPF in VB.NET

This article shows you how to use or create Hyperlink in WPF Application.
  • 2065
This tutorial shows you how to create Hyperlink in Windows Presentation Foundation (WPF) Application. If we are placing the Hyperlink within a page then only the NavigateUri works. We have to handle the RequestNavigate event while using it within a windows-based application and write the code ourselves as shown below:


      <TextBlock FontSize="36" TextWrapping="Wrap">
      Welcome to <Hyperlink NavigateUri="">Yahoo World</Hyperlink>



Window open after you click on Yahoo World


NOTE:  In case if navigation fails while using hyperlink we could also provide handler for Application.NavigationFailed event.


More Articles

© 2020 DotNetHeaven. All rights reserved.