Blake.NUI.WPF.Gestures.TapGestureEngine.AbortGesture C# (CSharp) Method

AbortGesture() public method

public AbortGesture ( ) : void
return void
    public void AbortGesture()
    {
      _timer.Stop();
      IsAborted = true;
      ProcessStatus();
    }
    #endregion

Usage Example

        public void AbortGesture()
        {
            if (IsAborted || IsCompleted)
            {
                return;
            }

            IsAborted = true;
            _timer.Stop();
            firstTap.AbortGesture();
            secondTap.AbortGesture();

            OnGestureAborted();
        }