The default behavior of property BackColor
of a TextBox
is as follows: when enabled, it is White
(SystemColors.Window
), when disabled it is Gray (not sure what SystemColor this is).
If I change the BackColor
property, the same color is used for both Enabled and Disabled. How do I reset the BackColor
property (after it has been changed previously) so that the behavior reverts to the default?
I have tried setting it back to SystemColors.Window
, but then the box stays white when disabled.