Bewerken

Delen via


UICollectionViewLayout.GetInvalidationContext Method

Definition

Gets the invalidated areas for a change from originalAttributes to preferredAttributes.

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

Parameters

preferredAttributes
UICollectionViewLayoutAttributes

Returns

Attributes

Applies to