Change the color of ellipse when mouse over

后端 未结 2 1216
傲寒
傲寒 2021-01-20 11:53

I\'m totally new in WPF. It\'s kind of confusing, why the first code snippet works fine (when mouse over, the color changes) but the second one doesn\'t work?



        
2条回答
  •  清酒与你
    2021-01-20 12:38

    This purely because of the Property value precedence. The below link got an excellent explanation.

    WPF Trigger won't set property if set in Element

提交回复
热议问题