TextBlock.IContentHost.OnChildDesiredSizeChanged(UIElement) 方法

定义

此方法支持 Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) 基础结构,不能在代码中直接使用。This method supports the Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. 改用类型安全的 OnChildDesiredSizeChangedCore(UIElement) 方法。Use the type-safe OnChildDesiredSizeChangedCore(UIElement) method instead.

 virtual void System.Windows.IContentHost.OnChildDesiredSizeChanged(System::Windows::UIElement ^ child) = System::Windows::IContentHost::OnChildDesiredSizeChanged;
void IContentHost.OnChildDesiredSizeChanged (System.Windows.UIElement child);
Sub OnChildDesiredSizeChanged (child As UIElement) Implements IContentHost.OnChildDesiredSizeChanged

参数

child
UIElement

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

实现

适用于