public void Pause()
        {
            IsRunning = false;

            _scheduledFrame.Disposable = null;
            _watch.Stop();

            AnimationPause?.Invoke(this, EventArgs.Empty);
        }
Пример #2
0
        public void Pause()
        {
            var pausedTime  = _valueAnimator?.CurrentPlayTime;
            var pausedValue = (float?)_valueAnimator?.AnimatedValue;

            _valueAnimator?.Pause();
            _coreAnimation?.Pause(pausedTime, pausedValue);

            AnimationPause?.Invoke(this, EventArgs.Empty);
        }
Пример #3
0
        /// <inheritdoc />
        public void Pause()
        {
            CheckDisposed();

            IsRunning = false;
            _elapsed.Stop();
            DisableFrameReporting();

            AnimationPause?.Invoke(this, EventArgs.Empty);
        }
Пример #4
0
        /// <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);
        }
Пример #6
0
 public void Pause()
 {
     AnimationPause?.Invoke(this, EventArgs.Empty);
 }