NSCollectionView.GetLayoutAttributes 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
返回
- 属性