public static void DecrementOffset(this IScrollableUIElement element, Vector vector) { element.Offset -= vector; }
public OffsetAnimationActuator(IScrollableUIElement scrollableUIElement, VectorAnimation animation) { _scrollableUIElement = scrollableUIElement; _doubleAnimation = animation ?? throw new ArgumentNullException(nameof(animation)); }