예제 #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();
            }
        }
예제 #2
0
        public bool EndScroll()
        {
            IScrollViewerFocusSupport svfs = _itemsHostPanel as IScrollViewerFocusSupport;

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