views:

46

answers:

0

I have this window where I have a block of text that contains a link. Something like:

Click here to read the documentation.

Which means only the "here" in the sentence is a hyperlink.

My problem is, I want to prepare this for localization. As a result, I have the text in resx files. So in the resx file I have "Click here to read the documentation" as a string.

So my question is, can I write some xaml that will display that string as a textblock, but display the "here" as a hyperlink? I could theoretically put some tokens to indicate where the hyperlink part starts and ends, I suppose (something like "Click to read the documentation" in which case I want a hyperlink between .

I know I can use RichTextBox, but I believe the hyperlinks in RichTextBox only works when ctrl is held down.