UICollectionView.CellForItem(NSIndexPath) Metodo

Definizione

Restituisce l'oggetto in corrispondenza dell'oggetto UICollectionViewCell specificato 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

Parametri

indexPath
NSIndexPath

Oggetto NSIndexPath che indica la sezione e l'indice dell'elemento dell'oggetto desiderato UICollectionViewCell.

Restituisce

Corrispondente UICollectionViewCell al indexPath parametro. Se non è presente alcun oggetto corrispondente UICollectionViewCell, la funzione restituisce null.

Attributi

Si applica a