Layout.OnChildMeasureInvalidated 方法

定义

重载

OnChildMeasureInvalidated()
已过时.

每当布局的子级发出 MeasureInvalidated 时调用。 实现此方法可为此事件添加类处理。

OnChildMeasureInvalidated(Object, EventArgs)

每当布局的子级发出 MeasureInvalidated 时调用。 实现此方法可为此事件添加类处理。

OnChildMeasureInvalidated()

Source:
Layout.cs
Source:
Layout.cs

注意

Subscribe to the MeasureInvalidated Event on the Children.

每当布局的子级发出 MeasureInvalidated 时调用。 实现此方法可为此事件添加类处理。

protected:
 virtual void OnChildMeasureInvalidated();
protected virtual void OnChildMeasureInvalidated ();
[System.Obsolete("Subscribe to the MeasureInvalidated Event on the Children.")]
protected virtual void OnChildMeasureInvalidated ();
abstract member OnChildMeasureInvalidated : unit -> unit
override this.OnChildMeasureInvalidated : unit -> unit
[<System.Obsolete("Subscribe to the MeasureInvalidated Event on the Children.")>]
abstract member OnChildMeasureInvalidated : unit -> unit
override this.OnChildMeasureInvalidated : unit -> unit
Protected Overridable Sub OnChildMeasureInvalidated ()
属性

适用于

OnChildMeasureInvalidated(Object, EventArgs)

Source:
Layout.cs
Source:
Layout.cs

每当布局的子级发出 MeasureInvalidated 时调用。 实现此方法可为此事件添加类处理。

protected:
 void OnChildMeasureInvalidated(System::Object ^ sender, EventArgs ^ e);
protected void OnChildMeasureInvalidated (object sender, EventArgs e);
member this.OnChildMeasureInvalidated : obj * EventArgs -> unit
Protected Sub OnChildMeasureInvalidated (sender As Object, e As EventArgs)

参数

sender
Object

其首选大小已更改的子元素。

e
EventArgs

事件数据。

注解

此方法具有默认实现,应用程序开发人员必须调用基本实现。

适用于