I can't find even one simple example that shows how to do that.
I need to put an item on the panel (I don't care if it's Listbox or TextBlock or RichTextBox) that will let me add lines of text while running, from the ViewModel code, each line with a color that I choose.
"This is red line of text" (this text will be red)
"This is blue line of text" (this text will be blue)
What it the simplest way to do that ?
Thanks very much!
(It's in WPF - MVVM)