Modifier

Partager via


UICollectionViewLayout.ShouldInvalidateLayout Method

Definition

Returns true if the collection view needs to invalidate for a change from preferredAttributes to originalAttributes.

[Foundation.Export("shouldInvalidateLayoutForPreferredLayoutAttributes:withOriginalAttributes:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldInvalidateLayout (UIKit.UICollectionViewLayoutAttributes preferredAttributes, UIKit.UICollectionViewLayoutAttributes originalAttributes);
abstract member ShouldInvalidateLayout : UIKit.UICollectionViewLayoutAttributes * UIKit.UICollectionViewLayoutAttributes -> bool
override this.ShouldInvalidateLayout : UIKit.UICollectionViewLayoutAttributes * UIKit.UICollectionViewLayoutAttributes -> bool

Parameters

preferredAttributes
UICollectionViewLayoutAttributes

Returns

Attributes

Applies to