TextBlock.OnChildDesiredSizeChangedCore(UIElement) Method

Definition

当派生自 UIElement 的子元素更改其 DesiredSize 时调用。Called when a child element deriving from UIElement changes its DesiredSize.

protected:
 virtual void OnChildDesiredSizeChangedCore(System::Windows::UIElement ^ child);
protected virtual void OnChildDesiredSizeChangedCore (System.Windows.UIElement child);
abstract member OnChildDesiredSizeChangedCore : System.Windows.UIElement -> unit
override this.OnChildDesiredSizeChangedCore : System.Windows.UIElement -> unit
Protected Overridable Sub OnChildDesiredSizeChangedCore (child As UIElement)

Parameters

child
UIElement

UIElement 发生改变的 DesiredSize 子元素。The child UIElement element whose DesiredSize has changed.

Applies to