NSCollectionViewLayout.ShouldInvalidateLayout Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- newBounds
- CGRect
Returns
- Attributes
Applies to
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
Parameters
- preferredAttributes
- NSCollectionViewLayoutAttributes
- originalAttributes
- NSCollectionViewLayoutAttributes
Returns
- Attributes