UICollectionViewController.CanMoveItem(UICollectionView, NSIndexPath) Method

Definition

Whether the cell at the specified indexPath can be interactively moved.

[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

Parameters

collectionView
UICollectionView

The collection view that originated the request.

indexPath
NSIndexPath

Returns

The default value is true, allowing cells to be reordered.

Attributes

Applies to