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(); } }
public bool EndScroll() { IScrollViewerFocusSupport svfs = _itemsHostPanel as IScrollViewerFocusSupport; return(svfs != null && svfs.EndScroll()); }