UICollectionViewSource.GetCell(UICollectionView, NSIndexPath) 方法

定义

检索指定 NSIndexPath 处的 UICollectionViewCell。

[Foundation.Export("collectionView:cellForItemAtIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UICollectionViewCell GetCell(UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath);
abstract member GetCell : UIKit.UICollectionView * Foundation.NSIndexPath -> UIKit.UICollectionViewCell
override this.GetCell : UIKit.UICollectionView * Foundation.NSIndexPath -> UIKit.UICollectionViewCell

参数

collectionView
UICollectionView

发起请求的集合视图。

indexPath
NSIndexPath

返回

实现

属性

适用于