UICollectionViewLayout.InvalidateLayout 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.
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