Partager via


UICollectionView.CellForItem(NSIndexPath) Méthode

Définition

Retourne le UICollectionViewCell au spécifié 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

Paramètres

indexPath
NSIndexPath

NSIndexPath indiquant la section et l’index d’élément du souhaité UICollectionViewCell.

Retours

UICollectionViewCell correspondant au indexPath paramètre . S’il n’y a pas de correspondant UICollectionViewCell, la fonction retourne null.

Attributs

S’applique à