WillEndDraggingEventArgs.TargetContentOffset WillEndDraggingEventArgs.TargetContentOffset Property

Definition

The expected offset when the scrolling action decelerates to a stop.

public CoreGraphics.CGPoint TargetContentOffset { get; set; }
member this.TargetContentOffset : CoreGraphics.CGPoint with get, set

Property Value

The PointF that will be assigned to the UIScrollView's ContentOffset at the end of deceleration.

Remarks

When the application user lifts their finger after a dragging gesture, the UIScrollView will typically continue to scroll as it decelerates. The value of this property is the PointF that will be assigned to the UIScrollView's ContentOffset at the end of deceleration if no intervening events (e.g., another drag) occur and if the application developer does not programmatically assign the ContentOffset. This value incorporates any bouncing/rebounding that may occur during the animation.

Applies to

See also