Button Color WPF

前端 未结 1 564
野趣味
野趣味 2021-01-27 12:58

I\'m trying to change my button color when the mouse is over it but it\'s not working (the button is still blue) and all examples I find go like I\'m doing:

<         


        
1条回答
  •  星月不相逢
    2021-01-27 14:02

    You should use ControlTemplate for this purpose like this:

    
         
    
    

    0 讨论(0)
提交回复
热议问题