Exemplo n.º 1
0
        public override void TouchesEnded(MonoTouch.Foundation.NSSet touches, MonoTouch.UIKit.UIEvent evt)
        {
            base.TouchesEnded(touches, evt);

            if (OnTouchesEnded != null)
            {
                OnTouchesEnded(touches, evt);
            }
        }
Exemplo n.º 2
0
        public static void OnTouchUp(MonoTouch.Foundation.NSSet touches, MonoTouch.UIKit.UIEvent evt)
        {
            var handler = TouchUp;

            if (handler != null)
            {
                handler(touches, evt);
            }
        }
        public override MonoTouch.UIKit.UIView HitTest(System.Drawing.PointF point, MonoTouch.UIKit.UIEvent uievent)
        {
            var replyView = base.HitTest(point, uievent);

            if (replyView == this)
            {
                return(null);
            }
            return(replyView);
        }