IContentHost.OnChildDesiredSizeChanged(UIElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.