0

I want to show a long list of reviews which may contain links. how can I show them so the user can click and open links?

this question has been asked a lot, but I couldn't find a functional answer, this obsolete answer seems isn't working:

<TextBlock>
  <Run>let me</Run>
  <Hyperlink NavigateUri="http://www.google.com">google</Hyperlink>
  <Run>that for you</Run>
</TextBlock>

Also RichTextBox doesn't support Data Binding does it?

reviews will be shown inside a LongListSelector like this:

<phone:LongListSelector ItemsSource="{Binding Reviews}">
    <phone:LongListSelector.ItemTemplate>
        <DataTemplate>
            <TextBlock Text={Binding Review}/>
        </DataTemplate>
    </phone:LongListSelector.ItemTemplate>
</phone:LongListSelector>
David
  • 15,335
  • 22
  • 54
  • 65
user3293835
  • 799
  • 1
  • 14
  • 30

1 Answers1

0

You are missing Text Property,

Here is a complete example of how to add links inside RichTextBox Hyperlink inside rich textbox

Sajeetharan
  • 203,447
  • 57
  • 330
  • 376