/// <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.StartScaleX.HasValue) { context.InitializeScaleX(this.StartScaleX.Value); } }