Edit

Share via


UICollectionView.DequeueReusableCell Method

Definition

Overloads

DequeueReusableCell(NSString, NSIndexPath)

Returns a new or reused UICollectionReusableView.

DequeueReusableCell(String, NSIndexPath)

Returns a new or reused UICollectionReusableView.

DequeueReusableCell(NSString, NSIndexPath)

Returns a new or reused UICollectionReusableView.

[Foundation.Export("dequeueReusableCellWithReuseIdentifier:forIndexPath:")]
public virtual UIKit.UICollectionReusableView DequeueReusableCell (Foundation.NSString reuseIdentifier, Foundation.NSIndexPath indexPath);
abstract member DequeueReusableCell : Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionReusableView
override this.DequeueReusableCell : Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionReusableView

Parameters

reuseIdentifier
NSString

A type-specific reuse identifier for the desired cell.

indexPath
NSIndexPath

The NSIndexPath indicating the section and item index of the desired UICollectionViewCell.

Returns

A UICollectionReusableView that is either newly allocated or recycled from the reuse queue.

Attributes

Applies to

DequeueReusableCell(String, NSIndexPath)

Returns a new or reused UICollectionReusableView.

public UIKit.UICollectionReusableView DequeueReusableCell (string reuseIdentifier, Foundation.NSIndexPath indexPath);
member this.DequeueReusableCell : string * Foundation.NSIndexPath -> UIKit.UICollectionReusableView

Parameters

reuseIdentifier
String
indexPath
NSIndexPath

Returns

Applies to