public void Cancel()
        {
            ReleaseDisplayLink();

            IsRunning = false;
            AnimationCancel?.Invoke(this, EventArgs.Empty);
        }
Exemplo n.º 2
0
        public void Cancel()
        {
            _valueAnimator?.Cancel();
            _coreAnimation?.Cancel();
            AnimationCancel?.Invoke(this, EventArgs.Empty);

            ReleaseCoreAnimation();
        }
        public void Cancel()
        {
            IsRunning = false;

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

            AnimationCancel?.Invoke(this, EventArgs.Empty);
        }
Exemplo n.º 4
0
        /// <inheritdoc />
        public void Cancel()
        {
            CheckDisposed();

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

            AnimationCancel?.Invoke(this, EventArgs.Empty);
        }
Exemplo n.º 5
0
        /// <inheritdoc />
        public void Cancel()
        {
            if (_isDisposed)
            {
                return;
            }

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

            AnimationCancel?.Invoke(this, EventArgs.Empty);
        }
Exemplo n.º 6
0
 public void OnAnimationCancel(Animator animation)
 {
     AnimationCancel?.Invoke(Context, new AnimatorEventArgs(animation));
 }
Exemplo n.º 7
0
 /// <summary>
 /// Cancel this instance.
 /// </summary>
 public void Cancel()
 {
     AnimationCancel?.Invoke(this, EventArgs.Empty);
 }