예제 #1
0
        public override bool Visit(DragBeginHandlerData handlerData)
        {
            if (prevPosition != null)
            {
                return(false);
            }

            if (!view.Rectangle.Contains(handlerData.Position))
            {
                return(false);
            }

            prevPosition = handlerData.Position;
            return(true);
        }
예제 #2
0
 public virtual bool Visit(DragBeginHandlerData handlerData) => false;