Compartilhar via


UICollectionViewDelegate.GetTargetIndexPathForMove Método

Definição

Quando substituído, permite que o desenvolvedor modifique o local final de um item movido. (Por exemplo, para não permitir uma mudança para um determinado proposedIndexPath.)

[Foundation.Export("collectionView:targetIndexPathForMoveFromItemAtIndexPath:toProposedIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSIndexPath GetTargetIndexPathForMove (UIKit.UICollectionView collectionView, Foundation.NSIndexPath originalIndexPath, Foundation.NSIndexPath proposedIndexPath);
abstract member GetTargetIndexPathForMove : UIKit.UICollectionView * Foundation.NSIndexPath * Foundation.NSIndexPath -> Foundation.NSIndexPath
override this.GetTargetIndexPathForMove : UIKit.UICollectionView * Foundation.NSIndexPath * Foundation.NSIndexPath -> Foundation.NSIndexPath

Parâmetros

collectionView
UICollectionView

A exibição de coleção que originou a solicitação.

originalIndexPath
NSIndexPath
proposedIndexPath
NSIndexPath

Retornos

Atributos

Aplica-se a