Home
Manage Your Code
Snippet: WPF Double animation (C#)
Title: WPF Double animation Language: C#
Description: WPF Double animation Views: 2336
Author: Andy Britcliffe Date Added: 1/8/2008
Copy Code  
1            DoubleAnimation da = new DoubleAnimation()
2            {
3                To = 0.0,
4                Duration = TimeSpan.FromMilliseconds(1000),
5                DecelerationRatio = .4
6            };            
7            this.logicalParent.fixedPanelHeaders.BeginAnimation(Canvas.TopProperty, da);