Window.MeasureOverride Method
Measures the size of the current window for the layout of a child element when you override this method.
Namespace: Microsoft.SPOT.Presentation
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)
Syntax
protected override void MeasureOverride (
intavailableWidth,
intavailableHeight,
ref intdesiredWidth,
ref intdesiredHeight
)
Parameters
- availableWidth
The width of the available space that the current window can allocate to a child element. - availableHeight
The height of the available space that the current window can allocate to a child element. - desiredWidth
[OutAttribute] The width of space that the current window requires for the layout of a child element. - desiredHeight
[OutAttribute] The height of space that the current window requires for the layout of a child element.
Version Information
Available in .NET Micro Framework version 2.0, 2.5
See Also
Reference
Window Class
Window Members
Microsoft.SPOT.Presentation Namespace