protected override Task ResetAnimation() { if (Target == null) { throw new NullReferenceException("Null Target property."); } return(Target.RelScaleTo(Scale, Convert.ToUInt32(Duration), EasingHelper.GetEasing(Easing))); }
protected override Task BeginAnimation() { if (Target == null) { throw new NullReferenceException("Null Target property."); } return(Target.FadeTo(Opacity, Convert.ToUInt32(Duration), EasingHelper.GetEasing(Easing))); }