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
- child
Type: Microsoft.SPOT.Presentation. . :: . .UIElement
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.