OnChildDesiredSizeChanged Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Supports the layout system when a child element is resized.

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

Syntax

'Declaration
Protected Overridable Sub OnChildDesiredSizeChanged ( _
    child As UIElement _
)
protected virtual void OnChildDesiredSizeChanged(
    UIElement child
)
protected:
virtual void OnChildDesiredSizeChanged(
    UIElement^ child
)
abstract OnChildDesiredSizeChanged : 
        child:UIElement -> unit 
override OnChildDesiredSizeChanged : 
        child:UIElement -> unit 
protected function OnChildDesiredSizeChanged(
    child : UIElement
)

Parameters

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.

.NET Framework Security

See Also

Reference

UIElement Class

Microsoft.SPOT.Presentation Namespace