public Transition(Element targetElement, string targetProperty, IValueBounds bounds, TransitionTiming timing, int delayMilliseconds = 0, ContinuationMode continuationMode = ContinuationMode.Restart) { this.targetElement = targetElement; this.targetProperty = targetProperty; this.valueBounds = bounds; this.timing = timing; this.delay = delayMilliseconds; this.continuationMode = continuationMode; }
public MultiplePropertyTransition(Element targetElement, IEnumerable <string> targetProperties, IValueBounds bounds, TransitionTiming timing, int delayMilliseconds = 0, Transition.ContinuationMode continuationMode = Transition.ContinuationMode.Restart) { transition = new ParallelTransition(targetProperties.Select(targetProperty => new Transition(targetElement, targetProperty, bounds, timing, delayMilliseconds, continuationMode)).ToArray()); transition.Completed += (sender, e) => RaiseCompleted(); }
public static IValueBounds Reverse(this IValueBounds valueBounds) { return(new ReversedValueBounds(valueBounds)); }
public ReversedValueBounds(IValueBounds source) { this.source = source; }