Share via


IUICollectionViewDelegate.GetTargetContentOffset Method

Definition

When overridden, allows the developer to modify the content offset for layout and animation changes.

[Foundation.Export("collectionView:targetContentOffsetForProposedContentOffset:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreGraphics.CGPoint GetTargetContentOffset(UIKit.UICollectionView collectionView, CoreGraphics.CGPoint proposedContentOffset);
[<Foundation.Export("collectionView:targetContentOffsetForProposedContentOffset:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetTargetContentOffset : UIKit.UICollectionView * CoreGraphics.CGPoint -> CoreGraphics.CGPoint
override this.GetTargetContentOffset : UIKit.UICollectionView * CoreGraphics.CGPoint -> CoreGraphics.CGPoint

Parameters

collectionView
UICollectionView

The collection view that originated the request.

proposedContentOffset
CGPoint

Returns

Attributes

Applies to