Bagikan melalui


UICollectionViewDataSource_Extensions.MoveItem Metode

Definisi

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void MoveItem (this UIKit.IUICollectionViewDataSource This, UIKit.UICollectionView collectionView, Foundation.NSIndexPath sourceIndexPath, Foundation.NSIndexPath destinationIndexPath);
static member MoveItem : UIKit.IUICollectionViewDataSource * UIKit.UICollectionView * Foundation.NSIndexPath * Foundation.NSIndexPath -> unit

Parameter

This
IUICollectionViewDataSource

Instans tempat metode ekstensi ini beroperasi.

collectionView
UICollectionView

Tampilan koleksi yang berasal dari permintaan.

sourceIndexPath
NSIndexPath
destinationIndexPath
NSIndexPath
Atribut

Berlaku untuk