Edytuj

Udostępnij za pośrednictwem


UICollectionViewLayoutInvalidationContext.InvalidateSupplementaryElements Method

Definition

Adds supplementary views in the specified index paths to an invalid item list.

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

Parameters

elementKind
NSString

String indicating the type of the supplementary views.

indexPaths
NSIndexPath[]

An array of index path objects.

Attributes

Remarks

Call this in order to identify specific supplementary views in your layout which require updates.

Applies to