Share via


Layout.InvalidateLayout Method

Definition

Caution

Use InvalidateMeasure depending on your scenario

Invalidates the current layout.

protected:
 virtual void InvalidateLayout();
protected virtual void InvalidateLayout ();
[System.Obsolete("Use InvalidateMeasure depending on your scenario")]
protected virtual void InvalidateLayout ();
abstract member InvalidateLayout : unit -> unit
override this.InvalidateLayout : unit -> unit
[<System.Obsolete("Use InvalidateMeasure depending on your scenario")>]
abstract member InvalidateLayout : unit -> unit
override this.InvalidateLayout : unit -> unit
Protected Overridable Sub InvalidateLayout ()
Attributes

Remarks

Calling this method will invalidate the measure and triggers a new layout cycle.

Applies to