Export (0) Print
Expand All

IContentHost::OnChildDesiredSizeChanged Method

Called when a UIElement-derived class which is hosted by a IContentHost changes its DesiredSize.

Namespace:  System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

void OnChildDesiredSizeChanged(
	UIElement^ child
)

Parameters

child
Type: System.Windows::UIElement

Child element whose DesiredSize has changed

ExceptionCondition
ArgumentNullException

If child is null.

ArgumentException

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).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft