I have a TextBox in my WPF app, with background color "Blue". When it receives focus, the background color changes to "White" by default. I want the background color to have another color when the TextBox gets focused (say "DodgerBlue").
All I can find in the web are amazingly examples of styles or templates, defining all possible VisualStates of the TextBox.
Is it not possible to create a short template targeting only that specific situation (i.e. when the TextBox has focus)?
Thanks.