共用方式為


Layout.InvalidateLayout 方法

定義

警告

Use InvalidateMeasure depending on your scenario

使目前的配置失效。

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 ()
屬性

備註

呼叫這個方法會使量值失效,並觸發新的版面配置週期。

適用於