Share via


Panel.MeasureOverride Method

Measures the size of the layout area required for child elements.

Namespace: Microsoft.SPOT.Presentation.Controls
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 available width of the rectangular area that the panel can allocate to the child element.
  • availableHeight
    The available height of the rectangular area that the panel can allocate to the child element.
  • desiredWidth
    [OutAttribute] The optimum width of the rectangular area that the panel is to allocate to the child element.
  • desiredHeight
    [OutAttribute] The optimum height of the rectangular area that the panel is to allocate to the 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

Panel Class
Panel Members
Microsoft.SPOT.Presentation.Controls Namespace