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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.