共用方式為


NSCollectionViewLayout.GetLayoutAttributesForElements(CGRect) 方法

定義

[Foundation.Export("layoutAttributesForElementsInRect:")]
public virtual AppKit.NSCollectionViewLayoutAttributes[] GetLayoutAttributesForElements (CoreGraphics.CGRect rect);
abstract member GetLayoutAttributesForElements : CoreGraphics.CGRect -> AppKit.NSCollectionViewLayoutAttributes[]
override this.GetLayoutAttributesForElements : CoreGraphics.CGRect -> AppKit.NSCollectionViewLayoutAttributes[]

參數

rect
CGRect

傳回

屬性

適用於