IContentHost.OnChildDesiredSizeChanged(UIElement) Método

Definición

Se llama cuando una UIElementclase derivada de que está hospedada por un IContentHost cambia su DesiredSize.

public:
 void OnChildDesiredSizeChanged(System::Windows::UIElement ^ child);
public void OnChildDesiredSizeChanged(System.Windows.UIElement child);
abstract member OnChildDesiredSizeChanged : System.Windows.UIElement -> unit
Public Sub OnChildDesiredSizeChanged (child As UIElement)

Parámetros

child
UIElement

Elemento secundario cuyo DesiredSize ha cambiado.

Excepciones

Si el elemento secundario es null.

Si el elemento secundario no es un descendiente directo (es decir, el elemento secundario debe ser un elemento secundario de IContentHost o que ContentElement sea un descendiente directo de IContentHost).

Se aplica a