Bewerken

Delen via


UICollectionViewLayout.GetInvalidationContextForInteractivelyMovingItems Method

Definition

Gets a UICollectionViewLayoutInvalidationContext that identifies the items being moved.

[Foundation.Export("invalidationContextForInteractivelyMovingItems:withTargetPosition:previousIndexPaths:previousPosition:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UICollectionViewLayoutInvalidationContext GetInvalidationContextForInteractivelyMovingItems (Foundation.NSIndexPath[] targetIndexPaths, CoreGraphics.CGPoint targetPosition, Foundation.NSIndexPath[] previousIndexPaths, CoreGraphics.CGPoint previousPosition);
abstract member GetInvalidationContextForInteractivelyMovingItems : Foundation.NSIndexPath[] * CoreGraphics.CGPoint * Foundation.NSIndexPath[] * CoreGraphics.CGPoint -> UIKit.UICollectionViewLayoutInvalidationContext
override this.GetInvalidationContextForInteractivelyMovingItems : Foundation.NSIndexPath[] * CoreGraphics.CGPoint * Foundation.NSIndexPath[] * CoreGraphics.CGPoint -> UIKit.UICollectionViewLayoutInvalidationContext

Parameters

targetIndexPaths
NSIndexPath[]
targetPosition
CGPoint
previousIndexPaths
NSIndexPath[]
previousPosition
CGPoint

Returns

Attributes

Applies to