IContentHost::OnChildDesiredSizeChanged Method (UIElement^)
.NET Framework (current version)
Called when a UIElement-derived class which is hosted by a IContentHost changes its DesiredSize.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- child
-
Type:
System.Windows::UIElement^
Child element whose DesiredSize has changed
| Exception | Condition |
|---|---|
| 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
Available since 3.0
Available since 3.0
Show: