共用方式為


NSCollectionViewLayout.GetLayoutAttributesForDecorationView 方法

定義

[Foundation.Export("layoutAttributesForDecorationViewOfKind:atIndexPath:")]
public virtual AppKit.NSCollectionViewLayoutAttributes GetLayoutAttributesForDecorationView (Foundation.NSString elementKind, Foundation.NSIndexPath indexPath);
abstract member GetLayoutAttributesForDecorationView : Foundation.NSString * Foundation.NSIndexPath -> AppKit.NSCollectionViewLayoutAttributes
override this.GetLayoutAttributesForDecorationView : Foundation.NSString * Foundation.NSIndexPath -> AppKit.NSCollectionViewLayoutAttributes

參數

elementKind
NSString
indexPath
NSIndexPath

傳回

屬性

適用於