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

注解

调用此方法将使度量值失效,并触发新的布局周期。

适用于