UIKit.UICollectionViewLayoutAttributes.CreateForSupplementaryView Method
Creates a layout attributes object representing the supplementary view.

Syntax

public static UICollectionViewLayoutAttributes CreateForSupplementaryView (UICollectionElementKindSection section, Foundation.NSIndexPath indexPath)

Parameters

section
The supplementary view kind.
indexPath
An index path for the supplementary view.

Returns

A layout attributes object that represents the supplementary view.

Remarks

Use this method to create a layout attributes object representing a supplementary view of a specific kind. If you've subclassed UICollectionViewLayoutAttributes and need to return an instance of the subclass, use UICollectionViewLayoutAttributes.CreateForSupplementaryView`1(UICollectionElementKindSection, Foundation.NSIndexPath) instead. This method is equivalent to calling CreateForSupplementaryView<UICollectionViewLayoutAttributes>.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0