Share via


NSCollectionView.GetLayoutAttributes Method

Definition

Overloads

GetLayoutAttributes(NSIndexPath)

[Foundation.Export("layoutAttributesForItemAtIndexPath:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual AppKit.NSCollectionViewLayoutAttributes? GetLayoutAttributes(Foundation.NSIndexPath indexPath);
[<Foundation.Export("layoutAttributesForItemAtIndexPath:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetLayoutAttributes : Foundation.NSIndexPath -> AppKit.NSCollectionViewLayoutAttributes
override this.GetLayoutAttributes : Foundation.NSIndexPath -> AppKit.NSCollectionViewLayoutAttributes

Parameters

indexPath
NSIndexPath

Returns

Attributes

Applies to

GetLayoutAttributes(String, NSIndexPath)

[Foundation.Export("layoutAttributesForSupplementaryElementOfKind:atIndexPath:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual AppKit.NSCollectionViewLayoutAttributes? GetLayoutAttributes(string kind, Foundation.NSIndexPath indexPath);
[<Foundation.Export("layoutAttributesForSupplementaryElementOfKind:atIndexPath:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetLayoutAttributes : string * Foundation.NSIndexPath -> AppKit.NSCollectionViewLayoutAttributes
override this.GetLayoutAttributes : string * Foundation.NSIndexPath -> AppKit.NSCollectionViewLayoutAttributes

Parameters

kind
String
indexPath
NSIndexPath

Returns

Attributes

Applies to