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 .NET Micro Framework version 2.0, 2.5
See Also
Reference
ContentControl Class
ContentControl Members
Microsoft.SPOT.Presentation.Controls Namespace