How to bind a TextBlock to a resource containing formatted text?
I have a TextBlock in my WPF window. <TextBlock> Some <Bold>formatted</Bold> text. </TextBlock> When it is rendered it looks like this, Some formatted text. My question is, can I bind this inline "content" to a resource in my application? I got as far as: Making an application resource string, myText="Some <Bold>formatted</Bold> text." and the following xaml (Some code omitted for brevity) <Window xmlns:props="clr-namespace:MyApp.Properties"> <Window.Resources> <props:Resources x:Key="Resources"/> </Window.Resources> <TextBlock x:Name="Try1" Text="{Binding Source={StaticResource Resources}