編輯

共用方式為


UICollectionViewDelegate.WillDisplayCell Method

Definition

The cell is about to be displayed.

[Foundation.Export("collectionView:willDisplayCell:forItemAtIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 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

The collection view that originated the request.

indexPath
NSIndexPath
Attributes

Applies to