Bewerken

Delen via


UICollectionViewDelegate_Extensions.GetTargetContentOffset Method

Definition

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

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static CoreGraphics.CGPoint GetTargetContentOffset (this UIKit.IUICollectionViewDelegate This, UIKit.UICollectionView collectionView, CoreGraphics.CGPoint proposedContentOffset);
static member GetTargetContentOffset : UIKit.IUICollectionViewDelegate * UIKit.UICollectionView * CoreGraphics.CGPoint -> CoreGraphics.CGPoint

Parameters

This
IUICollectionViewDelegate

The instance on which this extension method operates.

collectionView
UICollectionView

The collection view that originated the request.

proposedContentOffset
CGPoint

Returns

Attributes

Applies to