public void Pause() { IsRunning = false; _scheduledFrame.Disposable = null; _watch.Stop(); AnimationPause?.Invoke(this, EventArgs.Empty); }
public void Pause() { var pausedTime = _valueAnimator?.CurrentPlayTime; var pausedValue = (float?)_valueAnimator?.AnimatedValue; _valueAnimator?.Pause(); _coreAnimation?.Pause(pausedTime, pausedValue); AnimationPause?.Invoke(this, EventArgs.Empty); }
/// <inheritdoc /> public void Pause() { CheckDisposed(); IsRunning = false; _elapsed.Stop(); DisableFrameReporting(); AnimationPause?.Invoke(this, EventArgs.Empty); }
/// <inheritdoc /> public void Pause() { if (_isDisposed) { return; } IsRunning = false; _elapsed.Stop(); DisableFrameReporting(); AnimationPause?.Invoke(this, EventArgs.Empty); }
public void Pause() { IsRunning = false; AnimationPause?.Invoke(this, EventArgs.Empty); }
public void Pause() { AnimationPause?.Invoke(this, EventArgs.Empty); }