我有一个WPF应用程序用C#编写。
I have a WPF application written in C#.
我已经做了一个按钮。我改变了背景色。
I have made a button. I changed the background color.
我怎样才能改变偏蓝的颜色,当鼠标移动到我的按钮?而如何控制动画/更改时间?
How can I change the bluish color when mouse is over my button? And how to control animation/change time?
HTTP: //msdn.microsoft.com/en-us/magazine/cc163421.aspx
您将需要考虑为您的按钮创建一个风格。这将在XAML来完成,你会发现微软前pression混合真正简化了您的WPF项目的大多数方面的设计。
You will need to look into creating a 'style' for your button. This will be done in XAML, you will find Microsoft Expression Blend really simplifies the design of most aspects of your WPF projects.