How to Pause and resume an animation without using storyboard?
Hi,
My Problem: I want to pause and resume an animation, without storyboard.
Code:
pathrect2.BeginAnimation(FrameworkElement.OpacityProperty, new DoubleAnimation(1, TimeSpan.FromSeconds(dblFadeEffect)));
path.BeginAnimation(FrameworkElement.OpacityProperty, new DoubleAnimation(0, TimeSpan.FromSeconds(dblFadeEffect)));
Here pathrect2 and path are two path controls and I am basically doing an image slideshow here. I want to built play, pause and resume functionality. I am using a DispatcherTimer to provide the sliding duration.
Please help me....
Thanks,
SM