Språk

IContentHost.OnChildDesiredSizeChanged(UIElement) Metod

Definition

Anropas när en UIElement-härledd klass som hanteras av en IContentHost ändrar dess 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)

Parametrar

child
UIElement

Underordnat element vars har ändrats DesiredSize .

Undantag

Om underordnad är null.

Om barnet inte är en direkt underordnad (dvs. barnet måste vara ett underordnat IContentHost eller som ContentElement är en direkt underordnad IContentHosttill ).

Gäller för