Reset TextBox.Background to default in WPF so it still gets updated when system settings change
- by Neo
I have a TextBox that I wish to reset its Background property to its default value after changing it to a different colour.
I have tried setting it to SystemColors.WindowBrush, but then, if the Display Settings are updated to change this value, it doesn't get dynamically reflected in the TextBox (it does normally if TextBox.Background hasn't been touched).
Any idea how to do this?