UICollectionViewSource.GetTargetContentOffset Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden, allows the developer to modify the content offset for layout and animation changes.
[Foundation.Export("collectionView:targetContentOffsetForProposedContentOffset:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreGraphics.CGPoint GetTargetContentOffset (UIKit.UICollectionView collectionView, CoreGraphics.CGPoint proposedContentOffset);
abstract member GetTargetContentOffset : UIKit.UICollectionView * CoreGraphics.CGPoint -> CoreGraphics.CGPoint
override this.GetTargetContentOffset : UIKit.UICollectionView * CoreGraphics.CGPoint -> CoreGraphics.CGPoint
Parameters
- collectionView
- UICollectionView
The collection view that originated the request.
- proposedContentOffset
- CGPoint
Returns
- Attributes