ColorAnimation colorAnimation =
new ColorAnimation((Color)ColorConverter.ConvertFromString("#BFBFBF"),
(Color)ColorConverter.ConvertFromString("#00B1EF"),
new Duration(TimeSpan.FromSeconds(0.2)));
border1.Background.BeginAnimation(SolidColorBrush.ColorProperty, colorAnimation);
08-01
3万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
06-03
3209
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-23