次の方法で共有


UICollectionViewDelegate.GetTargetIndexPathForMove メソッド

定義

オーバーライドされると、開発者は移動されたアイテムの最終的な場所を変更できます。 (たとえば、特定 proposedIndexPathの への移動を禁止する場合など)。

[Foundation.Export("collectionView:targetIndexPathForMoveFromItemAtIndexPath:toProposedIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSIndexPath GetTargetIndexPathForMove (UIKit.UICollectionView collectionView, Foundation.NSIndexPath originalIndexPath, Foundation.NSIndexPath proposedIndexPath);
abstract member GetTargetIndexPathForMove : UIKit.UICollectionView * Foundation.NSIndexPath * Foundation.NSIndexPath -> Foundation.NSIndexPath
override this.GetTargetIndexPathForMove : UIKit.UICollectionView * Foundation.NSIndexPath * Foundation.NSIndexPath -> Foundation.NSIndexPath

パラメーター

collectionView
UICollectionView

要求を開始したコレクション ビュー。

originalIndexPath
NSIndexPath
proposedIndexPath
NSIndexPath

戻り値

属性

適用対象