NSCollectionViewLayout.ShouldInvalidateLayout 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
- originalAttributes
- NSCollectionViewLayoutAttributes
傳回
- 屬性