UICollectionViewLayout.GetInvalidationContext 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.
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
- originalAttributes
- UICollectionViewLayoutAttributes
Returns
- Attributes