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

Syntax

[Foundation.Export("layoutAttributesForSupplementaryViewOfKind:withIndexPath:")]
public static UICollectionViewLayoutAttributes CreateForSupplementaryView (Foundation.NSString kind, Foundation.NSIndexPath indexPath)

Parameters

kind
The kind identifier for the supplementary view.
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(Foundation.NSString, 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