lighten background color on button click per binding with converter

前端 未结 3 485
夕颜
夕颜 2021-01-14 18:11

I want to lighten a buttons background on click. So I did the following:


3条回答
  •  有刺的猬
    2021-01-14 18:30

    The problem is with Background, I don't know exactly why of all properties, background always acts this way but if you set Template instead of Background, the problem is solved:

        
    

提交回复
热议问题