Is there a way to animate a TextBlock‘s colour change?
At the moment I am basically using the enter/leave events to change the colour and I would like to a almost like a fade (but a fast fade, so .1/.2 secs) to give it a nicer visual appearance instead of being instantaneous.
Any advice on the best/easiest way to do this?
ps. Due to constraints, the actual code is vb.net but I will accept c#.net answers as I can read both fine. Just learning WPF.
ta
You want a
ColorAnimation. There’s an example on that page either in XAML:or in code: