Good day What is the best way to remove hyperlinks from code below Hymn 1 'Put on the whole armour of God.' How to remove underlines from hyperlink text in xaml.
-->
The Hyperlink object is an inline-level flow content element that allows you to host hyperlinks within the flow content. By default, Hyperlink uses a TextDecoration object to display an underline. TextDecoration objects can be performance intensive to instantiate, particularly if you have many Hyperlink objects. If you make extensive use of Hyperlink elements, you may want to consider showing an underline only when triggering an event, such as the MouseEnter event.
In the following example, the underline for the 'My MSN' link is dynamic, that is, it only appears when the MouseEnter event is triggered.
![Wpf Hyperlink Remove Underline Wpf Hyperlink Remove Underline](/uploads/1/2/4/1/124124550/874620907.jpg)
Example
The following markup sample shows a Hyperlink defined with and without an underline:
The following code sample shows how to create an underline for the Hyperlink on the MouseEnter event, and remove it on the MouseLeave event.