Example #1
0
        internal static GestureHandler Create(UIElement target)
        {
            var gestureHandler = new GestureHandler(target);

            gestureHandler.Configure(target);

            return(gestureHandler);
        }
Example #2
0
        public UIElement()
            : base(ContextHelper.Current)
        {
            _gestures = new Lazy <GestureHandler>(() => GestureHandler.Create(this));

            InitializeCapture();

            MotionEventSplittingEnabled = false;
        }