Want to change the Disabled control's font color #4480
Unanswered
amitha-achar
asked this question in
Q&A
Replies: 2 comments 1 reply
-
best would be to check original style. I believe you need to change these lines: MahApps.Metro/src/MahApps.Metro/Styles/Controls.TextBox.xaml Lines 185 to 187 in 509c9d7 Note
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Please verify that you inherit from the base style, what you already showed. Maybe you have another bug in your style. You can put this here in, so maybe we can help you. But I will not help in bugs of this version of MahApps itself! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have an application where , when we run long running process, the UI will b disabled. But it was observed that the textbox content's font color was very light and not readable. So i am trying to fix it. In App.xaml, i tried to change the style and added a trigger which will change foreground color to Black if the enabled= false. But this is changing the original style of the textbox. It shows with 4 borders for the textbox. Is it possible t o just change the DisabledForegroundBrush to something darker?or can i chnage the opacity of the disabled control to something brighter.I am on this from 4 days now and i am on the verge of giving up.
<Style BasedOn="{StaticResource MetroTextBox}" TargetType="{x:Type TextBox}"> </Style>Beta Was this translation helpful? Give feedback.
All reactions