UICollectionView.MoveItem(NSIndexPath, NSIndexPath) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.