Edit

Share via


NSCollectionViewLayout.GetInvalidationContext Method

Definition

Overloads

GetInvalidationContext(NSCollectionViewLayoutAttributes, NSCollectionViewLayoutAttributes)
GetInvalidationContext(CGRect)

GetInvalidationContext(NSCollectionViewLayoutAttributes, NSCollectionViewLayoutAttributes)

[Foundation.Export("invalidationContextForPreferredLayoutAttributes:withOriginalAttributes:")]
public virtual AppKit.NSCollectionViewLayoutInvalidationContext GetInvalidationContext (AppKit.NSCollectionViewLayoutAttributes preferredAttributes, AppKit.NSCollectionViewLayoutAttributes originalAttributes);
abstract member GetInvalidationContext : AppKit.NSCollectionViewLayoutAttributes * AppKit.NSCollectionViewLayoutAttributes -> AppKit.NSCollectionViewLayoutInvalidationContext
override this.GetInvalidationContext : AppKit.NSCollectionViewLayoutAttributes * AppKit.NSCollectionViewLayoutAttributes -> AppKit.NSCollectionViewLayoutInvalidationContext

Parameters

preferredAttributes
NSCollectionViewLayoutAttributes

Returns

Attributes

Applies to

GetInvalidationContext(CGRect)

[Foundation.Export("invalidationContextForBoundsChange:")]
public virtual AppKit.NSCollectionViewLayoutInvalidationContext GetInvalidationContext (CoreGraphics.CGRect newBounds);
abstract member GetInvalidationContext : CoreGraphics.CGRect -> AppKit.NSCollectionViewLayoutInvalidationContext
override this.GetInvalidationContext : CoreGraphics.CGRect -> AppKit.NSCollectionViewLayoutInvalidationContext

Parameters

newBounds
CGRect

Returns

Attributes

Applies to