UIScrollViewDelegate.WillEndDragging(UIScrollView, CGPoint, CGPoint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the user finishes scrolling the content.
[Foundation.Export("scrollViewWillEndDragging:withVelocity:targetContentOffset:")]
public virtual void WillEndDragging (UIKit.UIScrollView scrollView, CoreGraphics.CGPoint velocity, ref CoreGraphics.CGPoint targetContentOffset);
abstract member WillEndDragging : UIKit.UIScrollView * CoreGraphics.CGPoint * -> unit
override this.WillEndDragging : UIKit.UIScrollView * CoreGraphics.CGPoint * -> unit
Parameters
- scrollView
- UIScrollView
Scroll view where user touch ended.
- velocity
- CGPoint
The velocity of the scroll view (in points) when the touch ended.
- targetContentOffset
- CGPoint
The expected offset when the scrolling action decelerates to a stop.
- Attributes
Remarks
This method isn't called when the scroll view's PagingEnabled property is true
.
The ref
parameter targetContentOffset
can be modified in this method to adjust where the scroll view ends its scrolling animation.