/// <summary> /// Removes any property modifications, applied to the specified element by this instance. /// </summary> /// <param name="target">The element which property values are to be cleared.</param> /// <remarks> /// It is assumed that the element has been previously animated by this animation. /// </remarks> public override void ClearAnimation(UIElement target) { TranslateTransform transform = target.GetTranslateTransform(); transform.ClearValue(TranslateTransform.YProperty); }