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 (
         intavailableWidth,
         intavailableHeight,
         ref intdesiredWidth,
         ref intdesiredHeight
)

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 .NET Micro Framework version 2.0, 2.5

See Also

Reference

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