Bewerken

Delen via


UICollectionViewDataSource.GetViewForSupplementaryElement Method

Definition

Retrieves the UICollectionReusableView for the specified elementKind at the specified indexPath.

[Foundation.Export("collectionView:viewForSupplementaryElementOfKind:atIndexPath:")]
public virtual UIKit.UICollectionReusableView GetViewForSupplementaryElement (UIKit.UICollectionView collectionView, Foundation.NSString elementKind, Foundation.NSIndexPath indexPath);
abstract member GetViewForSupplementaryElement : UIKit.UICollectionView * Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionReusableView
override this.GetViewForSupplementaryElement : UIKit.UICollectionView * Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionReusableView

Parameters

collectionView
UICollectionView

The collection view that originated the request.

elementKind
NSString
indexPath
NSIndexPath

Returns

Attributes

Applies to