public static void RTScaleXAnimation(FrameworkElement Item, double FromValue, double ToValue, double Second, Action OnCompleted, SetExtentAnimationTimelineDelegate SetExtentValue) { DoubleAnimation Ani = new DoubleAnimation(FromValue, ToValue, new Duration(TimeSpan.FromSeconds(Second)), FillBehavior.Stop); CuxAnimation1.RTScaleXAnimation(Item, Ani, OnCompleted, SetExtentValue); }
public static void RTScaleXAnimation(FrameworkElement Item, double FromValue, double ToValue, double Second, Action OnCompleted) { CuxAnimation1.RTScaleXAnimation(Item, FromValue, ToValue, Second, OnCompleted, DefaultSetExtentValue); }