Editar

Compartir a través de


UICollectionView.MoveItem(NSIndexPath, NSIndexPath) Method

Definition

Moves an element from one location to another within the UICollectionView, animating as necssary.

[Foundation.Export("moveItemAtIndexPath:toIndexPath:")]
public virtual void MoveItem (Foundation.NSIndexPath indexPath, Foundation.NSIndexPath newIndexPath);
abstract member MoveItem : Foundation.NSIndexPath * Foundation.NSIndexPath -> unit
override this.MoveItem : Foundation.NSIndexPath * Foundation.NSIndexPath -> unit

Parameters

indexPath
NSIndexPath

The location of the item to move.

newIndexPath
NSIndexPath

The new location of the item.

Attributes

Remarks

If this method is called within the Action delegate passed to the PerformBatchUpdates(Action, UICompletionHandler) method, the animation will occur simultaneously with those of other manipulations of the UICollectionView.

Applies to