UICollectionViewDataSource.GetViewForSupplementaryElement(UICollectionView, NSString, NSIndexPath) UICollectionViewDataSource.GetViewForSupplementaryElement(UICollectionView, NSString, NSIndexPath) 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 UICollectionView

The collection view that originated the request.

elementKind
NSString NSString

Returns

Applies to