UICollectionViewController.GetViewForSupplementaryElement Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the UICollectionReusableView for a supplementary view of the specified kind.
[Foundation.Export("collectionView:viewForSupplementaryElementOfKind:atIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
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
Collection view managed by this view controller.
- elementKind
- NSString
The kind of supplementary view that is to be created.
- indexPath
- NSIndexPath
Index path for the affected item.
Returns
The UICollectionReusableView for a supplementary view of the specified kind.
- Attributes