共用方式為


NSCollectionViewLayoutAttributes.CreateForDecorationView 方法

定義

[Foundation.Export("layoutAttributesForDecorationViewOfKind:withIndexPath:")]
public static AppKit.NSCollectionViewLayoutAttributes CreateForDecorationView (Foundation.NSString decorationViewKind, Foundation.NSIndexPath indexPath);
static member CreateForDecorationView : Foundation.NSString * Foundation.NSIndexPath -> AppKit.NSCollectionViewLayoutAttributes

參數

decorationViewKind
NSString
indexPath
NSIndexPath

傳回

屬性

適用於