次の方法で共有


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

戻り値

属性

適用対象