Compartilhar via


UICollectionView.CellForItem(NSIndexPath) Método

Definição

Retorna o UICollectionViewCell no especificado 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

Parâmetros

indexPath
NSIndexPath

O NSIndexPath que indica a seção e o índice de item do desejado UICollectionViewCell.

Retornos

O UICollectionViewCell correspondente ao indexPath parâmetro . Se não houver nenhum correspondente UICollectionViewCell, a função retornará null.

Atributos

Aplica-se a