Share via


UICollectionViewDelegate.WillDisplayCell Method

Definition

The cell is about to be displayed.

[Foundation.Export("collectionView:willDisplayCell:forItemAtIndexPath:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void WillDisplayCell(UIKit.UICollectionView collectionView, UIKit.UICollectionViewCell cell, Foundation.NSIndexPath indexPath);
[<Foundation.Export("collectionView:willDisplayCell:forItemAtIndexPath:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member WillDisplayCell : UIKit.UICollectionView * UIKit.UICollectionViewCell * Foundation.NSIndexPath -> unit
override this.WillDisplayCell : UIKit.UICollectionView * UIKit.UICollectionViewCell * Foundation.NSIndexPath -> unit

Parameters

collectionView
UICollectionView

The collection view that originated the request.

indexPath
NSIndexPath

Implements

Attributes

Applies to