Canvas.MeasureOverride Method
Measures the child elements in a canvas in anticipation of arranging them during the ArrangeOverride pass.
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
Canvas Class
Canvas Members
Microsoft.SPOT.Presentation.Controls Namespace