WPF Generate TextBlock Inlines
I have a GridView and in one of the GridViewColumn s i want to generate a text like this: textBlock.Text = string.Format("{0} is doing {1} .......", a, b); but a and b (Properties of an item in the View) should not just be represented as plain text, but as a Hyperlink for example. (Also: The format text should depend on the type of the item) How can i generate the TextBlock s text in that way? (for localization) The Question is more: Should i write something on my own or is there an easy way provided by the framework? Recently i came across the same problem. So i decided to implement an