Share via


WindowManager.MeasureOverride Method

Determines the custom size requirements for the layout of a child element.

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

Syntax

protected override void MeasureOverride (
         int availableWidth,
         int availableHeight,
         ref int desiredWidth,
         ref int desiredHeight
)

Parameters

  • availableWidth
    The width of the available space that a parent element can allocate to a child element.
  • availableHeight
    The height of the available space that a parent element can allocate to a child element.
  • desiredWidth
    [OutAttribute] The width of the space that a parent element will allocate to a child element.
  • desiredHeight
    [OutAttribute] The height of space that a parent element will allocate to a child element.

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

WindowManager Class
WindowManager Members
Microsoft.SPOT.Presentation Namespace