ContentControl.MeasureOverride Method
Remeasures a control for layout on a display device.
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 maximum available width of the layout area, in pixels. - availableHeight
The maximum available height of the layout area, in pixels. - desiredWidth
[OutAttribute] The optimum width of the layout area, in pixels. - desiredHeight
[OutAttribute] The optimum height of the layout area, in pixels.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.
See Also
Reference
ContentControl Class
ContentControl Members
Microsoft.SPOT.Presentation.Controls Namespace