Example #1
0
        protected virtual void RaiseFlick(FlickGestureEventArgs e)
        {
            var handler = Flick;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Example #2
0
        private void OnFlick(object sender, FlickGestureEventArgs e)
        {
            if (!IsEnabled)
            {
                return;
            }

            RaiseFlick(e);
        }
Example #3
0
        private void OnFlick(object sender, FlickGestureEventArgs e)
        {
            //System.Diagnostics.Debug.WriteLine("OnFlick IsEnabled=" + IsEnabled + " angle=" + e.Angle + " direction=" + e.Direction + " horizontal_velocity=" + e.HorizontalVelocity + " vertical_velocity=" + e.VerticalVelocity);

            if (!IsEnabled)
            {
                return;
            }

            RaiseFlick(e);
        }