开发者

WP7 Silverlight: How to make the links in a textblock clickable?

I know this question has been asked before, but the other answers don't work for me because I'm on Windows Phone 7.

I have a T开发者_StackOverflow社区extBlock whose Text is not known until runtime. I need to make all links clickable. My approach is basically the one described here, but there is no Hyperlink class in the WP7 SDK and I can't add a HyperlinkButton to textBlock.Inlines. Am I doing something wrong, or do I need a different approach?


WrapPanel with TextBlocks and HyperlinkButtons has been a pattern used for this problem on the phone platform.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜