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
返回
- 属性