Change the color of ellipse when mouse over

后端 未结 2 1218
傲寒
傲寒 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

    The difference is the line

    
    

    Read more on ControlTemplates.

    http://msdn.microsoft.com/en-us/library/ms743230.aspx

提交回复
热议问题