Compartir a través de


UICollectionViewController.CanMoveItem(UICollectionView, NSIndexPath) Método

Definición

Si la celda del especificado indexPath se puede mover de forma interactiva.

[Foundation.Export("collectionView:canMoveItemAtIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool CanMoveItem (UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath);
abstract member CanMoveItem : UIKit.UICollectionView * Foundation.NSIndexPath -> bool
override this.CanMoveItem : UIKit.UICollectionView * Foundation.NSIndexPath -> bool

Parámetros

collectionView
UICollectionView

Vista de colección que originó la solicitud.

indexPath
NSIndexPath

Devoluciones

El valor predeterminado es true, lo que permite reordenar las celdas.

Atributos

Se aplica a