Layout.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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.