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
属性

适用于