Exemple #1
0
        /// <summary>
        /// Tells the handler to perform a touchdown.
        /// </summary>
        public void DoDrag()
        {
            bool pass = (Math.Abs(cumulativeMoveX) > ElementDef.DragThresholdPixels);

            if (!(this.Supports(TouchAction.Drag) && pass))
            {
                return;
            }

            handler.Drag(ObjectTouches.MoveCenter, relativePos);
        }