Answered by:

Hide selection rectangle

Question

I want to know if it's possible to hide the dotted selection rectangle surrounding hyperlinks I have added to my app through the use of a RichTextBlock.

I want to hide this because I already have a method of showing the focus, although most of the users click these links rather than tab to them anyways, so the selection rectangle is mostly useless anyways for 90% of the users.

Friday, January 30, 2015 12:21 PM

Answers

How do you create hyperlink in RichTextBlock. As far as I know, Hyperlink class cannot used in windows store app. I recommend you can use HyperlinkButton to create link which do not have dotted selection rectangle:

Add HyperlinkButton in RichTextblock InlineUIContainer and edit the HyperlinkButton style:

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.