Ejemplo n.º 1
0
        public override void OnTouchUp(TouchUpEvent touchEventArgs)
        {
            base.OnTouchUp(touchEventArgs);
            if (!touchEventArgs.IsPrimaryContact)
            {
                return;
            }

            _lastTouchEvent = null;
            IScrollViewerFocusSupport svfs = FindScrollControl() as IScrollViewerFocusSupport;

            if (svfs != null)
            {
                svfs.EndScroll();
            }
        }
Ejemplo n.º 2
0
        public bool EndScroll()
        {
            IScrollViewerFocusSupport svfs = _itemsHostPanel as IScrollViewerFocusSupport;

            return(svfs != null && svfs.EndScroll());
        }