Editar

Compartir a través de


UICollectionView.CellForItem(NSIndexPath) Method

Definition

Returns the UICollectionViewCell at the specified NSIndexPath.

[Foundation.Export("cellForItemAtIndexPath:")]
public virtual UIKit.UICollectionViewCell CellForItem (Foundation.NSIndexPath indexPath);
abstract member CellForItem : Foundation.NSIndexPath -> UIKit.UICollectionViewCell
override this.CellForItem : Foundation.NSIndexPath -> UIKit.UICollectionViewCell

Parameters

indexPath
NSIndexPath

The NSIndexPath indicating the section and item index of the desired UICollectionViewCell.

Returns

The UICollectionViewCell corresponding to the indexPath parameter. If there is no corresponding UICollectionViewCell, the function returns null.

Attributes

Applies to