c# - How to display links in TextBlock? -


i want show long list of reviews may contain links. how can show them user can click , open links?

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

<textblock>   <run>let me</run>   <hyperlink navigateuri="http://www.google.com">google</hyperlink>   <run>that you</run> </textblock> 

also richtextbox doesn't support data binding it?

reviews shown inside longlistselector this:

<phone:longlistselector itemssource="{binding reviews}">     <phone:longlistselector.itemtemplate>         <datatemplate>             <textblock text={binding review}/>         </datatemplate>     </phone:longlistselector.itemtemplate> </phone:longlistselector> 

you missing text property,

here complete example of how add links inside richtextbox hyperlink inside rich textbox


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -