Bewerken

Delen via


IContentHost.OnChildDesiredSizeChanged(UIElement) Method

Definition

Called when a UIElement-derived class which is hosted by a IContentHost changes its 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)

Parameters

child
UIElement

Child element whose DesiredSize has changed.

Exceptions

If child is null.

If child is not a direct descendant (i.e. child must be a child of the IContentHost or a ContentElement which is a direct descendant of the IContentHost).

Applies to