Пример #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());
        }