UICollectionViewDelegate_Extensions.GetTargetIndexPathForMove Método

Definición

Cuando se invalida, permite al desarrollador modificar la ubicación final de un elemento movido. (Por ejemplo, para no permitir un traslado a un determinado 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

Parámetros

This
IUICollectionViewDelegate

Instancia en la que opera este método de extensión.

collectionView
UICollectionView

Vista de colección que originó la solicitud.

originalIndexPath
NSIndexPath
proposedIndexPath
NSIndexPath

Devoluciones

Atributos

Se aplica a