예제 #1
0
 public void DraggingEnded(MonoTouch.UIKit.UIScrollView scrollView, bool willDecelerate)
 {
     if (!willDecelerate)
     {
         scrollView.SetContentOffset(ClampedContentOffsetForHorizontalOffset(scrollView.ContentOffset.X), true);
     }
 }
예제 #2
0
 public void DecelerationStarted(MonoTouch.UIKit.UIScrollView scrollView)
 {
     scrollView.SetContentOffset(ClampedContentOffsetForHorizontalOffset(scrollView.ContentOffset.X), true);
 }
예제 #3
0
 public void ZoomingEnded(MonoTouch.UIKit.UIScrollView scrollView, MonoTouch.UIKit.UIView withView, float atScale)
 {
     scrollView.SetContentOffset(ClampedContentOffsetForHorizontalOffset(scrollView.ContentOffset.X), true);
 }