Condividi tramite


UICollectionView.IndexPathForCell(UICollectionViewCell) Metodo

Definizione

Restituisce l'oggetto NSIndexPath per .cell

[Foundation.Export("indexPathForCell:")]
public virtual Foundation.NSIndexPath IndexPathForCell (UIKit.UICollectionViewCell cell);
abstract member IndexPathForCell : UIKit.UICollectionViewCell -> Foundation.NSIndexPath
override this.IndexPathForCell : UIKit.UICollectionViewCell -> Foundation.NSIndexPath

Parametri

cell
UICollectionViewCell

Oggetto UICollectionViewCell per il quale è desiderato l'indice.

Restituisce

NSIndexPath dell'oggetto UICollectionViewCell specificato. Restituisce null f la cella non è presente in questo UICollectionView

Attributi

Si applica a