共用方式為


NSCollectionViewLayoutAttributes.CreateForSupplementaryView 方法

定義

[Foundation.Export("layoutAttributesForSupplementaryViewOfKind:withIndexPath:")]
public static AppKit.NSCollectionViewLayoutAttributes CreateForSupplementaryView (Foundation.NSString elementKind, Foundation.NSIndexPath indexPath);
static member CreateForSupplementaryView : Foundation.NSString * Foundation.NSIndexPath -> AppKit.NSCollectionViewLayoutAttributes

參數

elementKind
NSString
indexPath
NSIndexPath

傳回

屬性

適用於