I know how to use an image from my assembly resources in XAML for the Image element:
<Image Source="pack://application:,,,/MyImage.png" />
But, how can I do it for the Text attribute of a TextBox? Something similar to:
<TextBox Text="pack://application:,,,/MyTextFile.txt" />
Here is my current solution, but requires some code-behind: