Поделиться через


UICollectionView.MoveItem(NSIndexPath, NSIndexPath) Метод

Определение

Перемещает элемент из одного расположения в другое UICollectionViewв , анимируя как 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

Параметры

indexPath
NSIndexPath

Расположение перемещаемого элемента.

newIndexPath
NSIndexPath

Новое расположение элемента.

Атрибуты

Комментарии

Если этот метод вызывается в делегате Action , передаваемом методу PerformBatchUpdates(Action, UICompletionHandler) , анимация будет выполняться одновременно с другими манипуляциями UICollectionView.

Применяется к