摘要: 定义动画:直接使用Element进行BeginAnimation DoubleAnimation animation = new DoubleAnimation(); animation.By = 100; animation.Duration = TimeSpan.FromSeconds(1); btnTest.BeginAnimation(Button.WidthProperty, animation);也可以将Animation添加到StoryBoard中去,这样可以一次执行多个动画: ... 阅读全文
posted @ 2013-08-27 11:48 wangyafei_it 阅读(959) 评论(0) 推荐(0) 编辑