Поделиться через


NSCollectionView.GetLayoutAttributes Метод

Определение

Перегрузки

GetLayoutAttributes(NSIndexPath)
GetLayoutAttributes(String, NSIndexPath)

GetLayoutAttributes(NSIndexPath)

[Foundation.Export("layoutAttributesForItemAtIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual AppKit.NSCollectionViewLayoutAttributes GetLayoutAttributes (Foundation.NSIndexPath indexPath);
abstract member GetLayoutAttributes : Foundation.NSIndexPath -> AppKit.NSCollectionViewLayoutAttributes
override this.GetLayoutAttributes : Foundation.NSIndexPath -> AppKit.NSCollectionViewLayoutAttributes

Параметры

indexPath
NSIndexPath

Возвращаемое значение

Атрибуты

Применяется к

GetLayoutAttributes(String, NSIndexPath)

[Foundation.Export("layoutAttributesForSupplementaryElementOfKind:atIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual AppKit.NSCollectionViewLayoutAttributes GetLayoutAttributes (string kind, Foundation.NSIndexPath indexPath);
abstract member GetLayoutAttributes : string * Foundation.NSIndexPath -> AppKit.NSCollectionViewLayoutAttributes
override this.GetLayoutAttributes : string * Foundation.NSIndexPath -> AppKit.NSCollectionViewLayoutAttributes

Параметры

kind
String
indexPath
NSIndexPath

Возвращаемое значение

Атрибуты

Применяется к