UICollectionViewSource.MoveItem Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перемещает элемент в .
[Foundation.Export("collectionView:moveItemAtIndexPath:toIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void MoveItem(UIKit.UICollectionView collectionView, Foundation.NSIndexPath sourceIndexPath, Foundation.NSIndexPath destinationIndexPath);
abstract member MoveItem : UIKit.UICollectionView * Foundation.NSIndexPath * Foundation.NSIndexPath -> unit
override this.MoveItem : UIKit.UICollectionView * Foundation.NSIndexPath * Foundation.NSIndexPath -> unit
Параметры
- collectionView
- UICollectionView
Представление коллекции, в которое поступил запрос.
- sourceIndexPath
- NSIndexPath
- destinationIndexPath
- NSIndexPath
- Атрибуты