Share via


Border.MeasureOverride Method

Measures the size of the space required for a particular child element, during layout.

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 space that the border element can allocate to its child element.
  • availableHeight
    The available height of the rectangular space that the border element can allocate to its child element.
  • desiredWidth
    [OutAttribute] The optimum width of the rectangular space that the border element will allocate to its child element.
  • desiredHeight
    [OutAttribute] The optimum height of the rectangular space that the border element will allocate its child element.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

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