UIKit.UIScrollViewDelegate.WillEndDragging Method
Called when the user finishes scrolling the content.

Syntax

[Foundation.Export("scrollViewWillEndDragging:withVelocity:targetContentOffset:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
public virtual void WillEndDragging (UIScrollView scrollView, CoreGraphics.CGPoint velocity, ref CoreGraphics.CGPoint targetContentOffset)

Parameters

scrollView
Scroll view where user touch ended.
velocity
The velocity of the scroll view (in points) when the touch ended.
targetContentOffset
The expected offset when the scrolling action decelerates to a stop.

Remarks

This method isn't called when the scroll view's UIScrollView.PagingEnabled property is true.

The ref parameter targetContentOffset can be modified in this method to adjust where the scroll view ends its scrolling animation.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0