共用方式為


NSCollectionViewLayout.GetTargetContentOffset 方法

定義

多載

GetTargetContentOffset(CGPoint)
GetTargetContentOffset(CGPoint, CGPoint)

GetTargetContentOffset(CGPoint)

[Foundation.Export("targetContentOffsetForProposedContentOffset:")]
public virtual CoreGraphics.CGPoint GetTargetContentOffset (CoreGraphics.CGPoint proposedContentOffset);
abstract member GetTargetContentOffset : CoreGraphics.CGPoint -> CoreGraphics.CGPoint
override this.GetTargetContentOffset : CoreGraphics.CGPoint -> CoreGraphics.CGPoint

參數

proposedContentOffset
CGPoint

傳回

屬性

適用於

GetTargetContentOffset(CGPoint, CGPoint)

[Foundation.Export("targetContentOffsetForProposedContentOffset:withScrollingVelocity:")]
public virtual CoreGraphics.CGPoint GetTargetContentOffset (CoreGraphics.CGPoint proposedContentOffset, CoreGraphics.CGPoint velocity);
abstract member GetTargetContentOffset : CoreGraphics.CGPoint * CoreGraphics.CGPoint -> CoreGraphics.CGPoint
override this.GetTargetContentOffset : CoreGraphics.CGPoint * CoreGraphics.CGPoint -> CoreGraphics.CGPoint

參數

proposedContentOffset
CGPoint
velocity
CGPoint

傳回

屬性

適用於