I am upgrading an old program from windows forms to wpf. On the old windows forms app I had a RTB and I could paste text to it from a web page or visual studios and it would keep the text size color and font.
I now have a wpf rich text box but when I paste (ctrl v) text I have copied from a web page it is just the plane black text. How can I get it to behave like the old win forms one and paste the formatted text?
<RichTextBox Grid.Row="1" Margin="7" Name="RichTextBox1" Background="#FFEDEAEA">
</RichTextBox>
The idea is to be able to paste formatted text then save it and reload it later, and I have a felling saving and loading the formatted text will be the next issue.