Я видел следующий поток, связанный с моим вопросом:
WPF ComboBox: цвет фона при отключении
Вышеупомянутое касается изменения шаблона контента для ComboBox
. Я работаю с WPF, я несколько новичок в стилях и шаблонах, и я хочу изменить тусклый серый цвет фона отключенного TextBox
на другой цвет. Мы часто используем TextBoxes
в нашем приложении, и мы находим, что настройки цвета по умолчанию трудно читать.
Я создал следующую попытку решения. Но, конечно, это не сработает. Может ли кто-нибудь дать мне мнение о том, почему?