UICollectionViewDelegate.GetTargetIndexPathForMove 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
覆寫時,可讓開發人員修改移動專案的最終位置。 (例如,不允許移至特定的 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
傳回
- 屬性