UIKit.UICollectionView.GetLayoutAttributesForSupplementaryElement Method
Returns the layout information for the specified supplementary view.

Syntax

[Foundation.Export("layoutAttributesForSupplementaryElementOfKind:atIndexPath:")]
public virtual UICollectionViewLayoutAttributes GetLayoutAttributesForSupplementaryElement (Foundation.NSString elementKind, Foundation.NSIndexPath indexPath)

Parameters

elementKind
A Foundation.NSString specifying what kind of of supplementary view is desired (e.g., "UICollectionElementKindSectionHeader").
indexPath
The Foundation.NSIndexPath specifying the location of the supplementary view.

Returns

A UIKit.UICollectionViewLayoutAttributes object specifying layout attributes. Returns null if the indexPath specifies a non-existent index.

Remarks

Requirements

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