forum

Home / DeveloperSection / Forums / Change button color when disabled

Change button color when disabled

Anonymous User 2428 06-Mar-2014

I use the following button and when isDisabled is true the button is transparent (here its always true for the example but in my program its bound to command...) what I want is that when the button is disabled the color remain the same just ligther, how can I achive that?

    <Button 

                             Width="100"

                             Height="25"

                             Background="#f0ab00"

                             Content="Run"

                             FontSize="16"

                             Foreground="#ffffff"

                             IsDefault="True"

                             Margin="10,0,20,0"

                             IsEnabled="false" />


Updated on 06-Mar-2014
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By