I believe the first step is searching online to find the classes that are used in the animation.
I have not tried this, but the following is how I think it would work. :-)
DoubleAnimationUsingKeyFrames animation = new DoubleAnimationUsingKeyFrames();
KeyTime start = new TimeSpan(0);
animation.KeyFrames.Add(new EasingDoubleKeyFrame(0, start));
KeyTime end = TimeSpan.FromSeconds(1);
animation.KeyFrames.Add(new EasingDoubleKeyFrame(-14,end));
[YourShapeMember].BeginAnimation(Shape.StrokeDashOffsetProperty, animation);