Hi
I'm learning WPF and specifically the RichTextBox via an intellisense-type application. As the user types stuff in, I am wanting to change the appearance of certain words. I'm not really sure what is the best way to do it (I mean the formatting as opposed to the parsing).
Ideally (I think) I'd like to do as much as I can in XAML but I'm not sure how much that is. I have seen examples of using ControlTemplates, but again I'm not sure that will quite give me what I am after since the examples I have see appear to control the appearance of the RichTextBox. I'm not sure if I could effectively create some sort of template conditional on my keywords or whether I have to, or it would be better to, do that in code.
I'm trying to use MVVM and am aware that I need to make the richtextbox bindable.
I'd be grateful of any pointers to articles/advice.
Many thx in advance
Simon