UICollectionViewDelegate_Extensions.GetTargetIndexPathForMove(IUICollectionViewDelegate, UICollectionView, NSIndexPath, NSIndexPath) UICollectionViewDelegate_Extensions.GetTargetIndexPathForMove(IUICollectionViewDelegate, UICollectionView, NSIndexPath, NSIndexPath) Method

Definition

When overridden, allows the developer to modify the final location of a moved item. (For instance, to disallow a move to a particular proposedIndexPath.)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSIndexPath GetTargetIndexPathForMove (this UIKit.IUICollectionViewDelegate This, UIKit.UICollectionView collectionView, Foundation.NSIndexPath originalIndexPath, Foundation.NSIndexPath proposedIndexPath);
static member GetTargetIndexPathForMove : UIKit.IUICollectionViewDelegate * UIKit.UICollectionView * Foundation.NSIndexPath * Foundation.NSIndexPath -> Foundation.NSIndexPath

Parameters

This
IUICollectionViewDelegate IUICollectionViewDelegate

The instance on which this extension method operates.

collectionView
UICollectionView UICollectionView

The collection view that originated the request.

originalIndexPath
NSIndexPath NSIndexPath
proposedIndexPath
NSIndexPath NSIndexPath

Returns

Applies to