0

I have a big block of text and I want to have a hyperlink "embedded" inside it. Something like this - akin to an html a tag.

I'm assuming there's an easy way to do this with the HyperlinkButton in Windows Phone 7 and - Silverlight just didn't find it...

Mick N
  • 14,892
  • 2
  • 35
  • 41
will
  • 3,975
  • 6
  • 33
  • 48
  • possible duplicate of [WP7 Silverlight: How to make the links in a textblock clickable?](http://stackoverflow.com/questions/4544761/wp7-silverlight-how-to-make-the-links-in-a-textblock-clickable) – Mick N Jan 01 '11 at 22:59

1 Answers1

0

There's not really a good way that I know of - the typical way of doing this is to use a WrapPanel (in the SL for Windows Phone Toolkit), and fill it with TextBlock and HyperlinkButton elements.

Silverlight 4 in a web browser (on a desktop PC/Mac) has RichTextBox which has a Hyperlink element that can be inline with text, so if you're also doing SL stuff for the desktop, that's a much better way to do it there.

Austin Lamb
  • 3,116
  • 1
  • 22
  • 13