共用方式為


UICollectionViewSource.CanMoveItem(UICollectionView, NSIndexPath) 方法

定義

是否可以移動位於 的專案。

[Foundation.Export("collectionView:canMoveItemAtIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool CanMoveItem (UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath);
abstract member CanMoveItem : UIKit.UICollectionView * Foundation.NSIndexPath -> bool
override this.CanMoveItem : UIKit.UICollectionView * Foundation.NSIndexPath -> bool

參數

collectionView
UICollectionView

產生要求的集合檢視。

indexPath
NSIndexPath

傳回

屬性

適用於