UIKit.UICollectionViewLayoutAttributes.CreateForDecorationView Method
Creates a layout attributes object representing the decoration view.

Syntax

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

Parameters

kind
The kind identifier for the decoration view.
indexPath
An index path related to the decoration view.

Returns

A layout attributes object that represents the decoration view.

Remarks

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

Requirements

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