Language

UICollectionViewLayout.LayoutAttributesForSupplementaryView Method

Definition

Overloads

Name Description
LayoutAttributesForSupplementaryView(UICollectionElementKindSection, NSIndexPath)

Gets the layout attributes for the supplementary view at the specified index path.

LayoutAttributesForSupplementaryView(NSString, NSIndexPath)

LayoutAttributesForSupplementaryView(UICollectionElementKindSection, NSIndexPath)

Gets the layout attributes for the supplementary view at the specified index path.

public UIKit.UICollectionViewLayoutAttributes LayoutAttributesForSupplementaryView(UIKit.UICollectionElementKindSection section, Foundation.NSIndexPath indexPath);
member this.LayoutAttributesForSupplementaryView : UIKit.UICollectionElementKindSection * Foundation.NSIndexPath -> UIKit.UICollectionViewLayoutAttributes

Parameters

section
UICollectionElementKindSection

The section kind of the supplementary view.

indexPath
NSIndexPath

The index path of the supplementary view.

Returns

The layout attributes for the supplementary view.

Applies to

LayoutAttributesForSupplementaryView(NSString, NSIndexPath)

[Foundation.Export("layoutAttributesForSupplementaryViewOfKind:atIndexPath:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UICollectionViewLayoutAttributes LayoutAttributesForSupplementaryView(Foundation.NSString kind, Foundation.NSIndexPath indexPath);
[<Foundation.Export("layoutAttributesForSupplementaryViewOfKind:atIndexPath:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member LayoutAttributesForSupplementaryView : Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionViewLayoutAttributes
override this.LayoutAttributesForSupplementaryView : Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionViewLayoutAttributes

Parameters

kind
NSString
indexPath
NSIndexPath

Returns

Attributes

Applies to