Sdílet prostřednictvím


UICollectionViewDelegate_Extensions.GetTargetContentOffset Method

Definition

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

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreGraphics.CGPoint GetTargetContentOffset(this UIKit.IUICollectionViewDelegate This, UIKit.UICollectionView collectionView, CoreGraphics.CGPoint proposedContentOffset);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetTargetContentOffset : UIKit.IUICollectionViewDelegate * UIKit.UICollectionView * CoreGraphics.CGPoint -> CoreGraphics.CGPoint

Parameters

collectionView
UICollectionView

The collection view that originated the request.

proposedContentOffset
CGPoint

Returns

Attributes

Applies to