UICollectionViewDelegate_Extensions.GetTargetIndexPathForMove 方法

定义

重写时,允许开发人员修改移动项的最终位置。 (例如,禁止移动到特定的 proposedIndexPath.)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSIndexPath GetTargetIndexPathForMove (this UIKit.IUICollectionViewDelegate This, UIKit.UICollectionView collectionView, Foundation.NSIndexPath originalIndexPath, Foundation.NSIndexPath proposedIndexPath);
static member GetTargetIndexPathForMove : UIKit.IUICollectionViewDelegate * UIKit.UICollectionView * Foundation.NSIndexPath * Foundation.NSIndexPath -> Foundation.NSIndexPath

参数

This
IUICollectionViewDelegate

此扩展方法操作的实例。

collectionView
UICollectionView

发起请求的集合视图。

originalIndexPath
NSIndexPath
proposedIndexPath
NSIndexPath

返回

属性

适用于