Edit

Share via


UICollectionViewController.WillDisplayCell Method

Definition

The cell at indexPath is about to be displayed.

[Foundation.Export("collectionView:willDisplayCell:forItemAtIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void WillDisplayCell (UIKit.UICollectionView collectionView, UIKit.UICollectionViewCell cell, Foundation.NSIndexPath indexPath);
abstract member WillDisplayCell : UIKit.UICollectionView * UIKit.UICollectionViewCell * Foundation.NSIndexPath -> unit
override this.WillDisplayCell : UIKit.UICollectionView * UIKit.UICollectionViewCell * Foundation.NSIndexPath -> unit

Parameters

collectionView
UICollectionView

Collection view managed by this view controller that is adding the specified cell.

cell
UICollectionViewCell

The cell that is being added.

indexPath
NSIndexPath

Path for the data item represented by the cell.

Attributes

Applies to