/// <summary> /// Sets the initial animation values to the provided target element. /// </summary> public override void ApplyInitialValues(UIElement target) { base.ApplyInitialValues(target); AnimationContext context = new AnimationContext(target); if (this.StartScaleY.HasValue) { context.InitializeScaleY(this.StartScaleY.Value); } }