Edit

Share via


UICollectionViewLayoutInvalidationContext.InvalidateDecorationElements Method

Definition

Adds decoration views at specified index paths to a list of items that are invalidated.

[Foundation.Export("invalidateDecorationElementsOfKind:atIndexPaths:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void InvalidateDecorationElements (Foundation.NSString elementKind, Foundation.NSIndexPath[] indexPaths);
abstract member InvalidateDecorationElements : Foundation.NSString * Foundation.NSIndexPath[] -> unit
override this.InvalidateDecorationElements : Foundation.NSString * Foundation.NSIndexPath[] -> unit

Parameters

elementKind
NSString

String indentifying the decoration view type.

indexPaths
NSIndexPath[]

Array of index path objects.

Attributes

Remarks

Call this for indentifying specific decoration views where the layout attributes have changed.

Applies to