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
返回
- 属性