BackgroundColor of a disabled TextBox

前端 未结 2 1957
傲寒
傲寒 2021-01-12 06:06

I have a TextBox that is defined through a ControlTemplate. Because of the ControlTemplate, the TextBox is no more automatically grayed out when the IsEnabled-property is se

2条回答
  •  执念已碎
    2021-01-12 06:57

    The hex value for Win7 aero SystemColors.ControlBrushKey is F0F0F0. Not F4F4F4. So that one is not correct, don't know which to use so I'm gonna use F4F4F4.

提交回复
热议问题