UICollectionViewDelegate_Extensions.GetTargetIndexPathForMove Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Ketika ditimpa, memungkinkan pengembang untuk memodifikasi lokasi akhir item yang dipindahkan. (Misalnya, untuk melarang pemindahan ke .) tertentu 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
Parameter
Instans tempat metode ekstensi ini beroperasi.
- collectionView
- UICollectionView
Tampilan koleksi yang berasal dari permintaan.
- originalIndexPath
- NSIndexPath
- proposedIndexPath
- NSIndexPath
Mengembalikan
- Atribut