Share via


UIElement.OnChildDesiredSizeChanged Method

Supports the layout system when a child element is resized.

Namespace: Microsoft.SPOT.Presentation
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

protected virtual void OnChildDesiredSizeChanged (
         UIElement child
)

Parameters

  • child
    The child element that is being resized.

Remarks

This method typically is not called by your application code. It is exposed so that derived element classes can make further checks on their own potentially invalid layout state. Classes could also attempt optimizations to minimize the processing time for a layout pass based on size changes to child elements.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

UIElement Class
UIElement Members
Microsoft.SPOT.Presentation Namespace