UICollectionView.GetLayoutAttributesForItem(NSIndexPath) Metodo

Definizione

Restituisce le informazioni sul layout per l'oggetto specificato UICollectionViewCell.

[Foundation.Export("layoutAttributesForItemAtIndexPath:")]
public virtual UIKit.UICollectionViewLayoutAttributes GetLayoutAttributesForItem (Foundation.NSIndexPath indexPath);
abstract member GetLayoutAttributesForItem : Foundation.NSIndexPath -> UIKit.UICollectionViewLayoutAttributes
override this.GetLayoutAttributesForItem : Foundation.NSIndexPath -> UIKit.UICollectionViewLayoutAttributes

Parametri

indexPath
NSIndexPath

Oggetto NSIndexPath che indica la cella desiderata disposta.

Restituisce

Oggetto UICollectionViewLayoutAttributes che specifica gli attributi di layout. Restituisce null se specifica indexPath un indice inesistente.

Attributi

Si applica a