I have a simple solution.
Using a DataTemplate, you can specify a template for a class, such as LinkItem, which contains your text, and a hyperlink.
public class LinkItem { public string Text { get; set; } public string Hyperlink { get; set; } public LinkItem(string text, string hyperlink) { Text = text; Hyperlink = hyperlink; } }
Nice and simple. Just add the LinkItem bundle to the LinkItems collection and you will get a beautiful combination of text and hyperlinks in your list.
You can also add a command to the LinkItem class to make things a little more interesting and link the command to a hyperlink.
<Hyperlink Command="{Binding HyperlinkCommand}"> ....
source share