다음을 통해 공유


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

반환

특성

적용 대상