共用方式為


NSCollectionViewLayout.ShouldInvalidateLayout 方法

定義

多載

ShouldInvalidateLayout(CGRect)
ShouldInvalidateLayout(NSCollectionViewLayoutAttributes, NSCollectionViewLayoutAttributes)

ShouldInvalidateLayout(CGRect)

[Foundation.Export("shouldInvalidateLayoutForBoundsChange:")]
public virtual bool ShouldInvalidateLayout (CoreGraphics.CGRect newBounds);
abstract member ShouldInvalidateLayout : CoreGraphics.CGRect -> bool
override this.ShouldInvalidateLayout : CoreGraphics.CGRect -> bool

參數

newBounds
CGRect

傳回

屬性

適用於

ShouldInvalidateLayout(NSCollectionViewLayoutAttributes, NSCollectionViewLayoutAttributes)

[Foundation.Export("shouldInvalidateLayoutForPreferredLayoutAttributes:withOriginalAttributes:")]
public virtual bool ShouldInvalidateLayout (AppKit.NSCollectionViewLayoutAttributes preferredAttributes, AppKit.NSCollectionViewLayoutAttributes originalAttributes);
abstract member ShouldInvalidateLayout : AppKit.NSCollectionViewLayoutAttributes * AppKit.NSCollectionViewLayoutAttributes -> bool
override this.ShouldInvalidateLayout : AppKit.NSCollectionViewLayoutAttributes * AppKit.NSCollectionViewLayoutAttributes -> bool

參數

preferredAttributes
NSCollectionViewLayoutAttributes

傳回

屬性

適用於