UICollectionViewDelegate_Extensions.GetTargetContentOffset 方法

定义

重写时,允许开发人员修改布局和动画更改的内容偏移量。

[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

参数

This
IUICollectionViewDelegate

此扩展方法操作的实例。

collectionView
UICollectionView

发起请求的集合视图。

proposedContentOffset
CGPoint

返回

属性

适用于