I need to be able to display a list but the items are in RTF and I want to be able to display the formatted text, what are my options to be able to do this?
Printable View
I need to be able to display a list but the items are in RTF and I want to be able to display the formatted text, what are my options to be able to do this?
RichTextBox. One of the aims of WPF was to make controls composable, meaning that one control can appear inside another. You can put a RichTextBox inside other controls, e.g. ListView, no problem. Here's an example of a TextBox inside a ListView:
http://social.msdn.microsoft.com/For...0-da5ee6330da6
A RichTextBox would be similar. You can do similar things with other controls, e.g. ListBox.
Yes, I was hoping it was easy like that but Richtextbox has no immediate property that I can bind into to make it work just like in TextBlock. Will try searching on how to make such property.
The Richtextbox in WPF Toolkit has a Text property I can bind into. =)