Edit

Share via


UICollectionViewLayout.InvalidateLayout Method

Definition

Overloads

InvalidateLayout()

Invalidates the current layout and initiates an update.

InvalidateLayout(UICollectionViewLayoutInvalidationContext)

Forces recomputation and application of the collection view.

InvalidateLayout()

Invalidates the current layout and initiates an update.

[Foundation.Export("invalidateLayout")]
public virtual void InvalidateLayout ();
abstract member InvalidateLayout : unit -> unit
override this.InvalidateLayout : unit -> unit
Attributes

Applies to

InvalidateLayout(UICollectionViewLayoutInvalidationContext)

Forces recomputation and application of the collection view.

[Foundation.Export("invalidateLayoutWithContext:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void InvalidateLayout (UIKit.UICollectionViewLayoutInvalidationContext context);
abstract member InvalidateLayout : UIKit.UICollectionViewLayoutInvalidationContext -> unit
override this.InvalidateLayout : UIKit.UICollectionViewLayoutInvalidationContext -> unit

Parameters

Attributes

Applies to