NSCollectionViewLayout.GetTargetContentOffset 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
傳回
- 屬性