ScrollViewer.MeasureOverride Method
Measures the contents (controls) of a ScrollViewer object.
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 rectangular area in which the controls can be contained. - availableHeight
The maximum available height of the rectangular area in which the controls can be contained. - desiredWidth
[OutAttribute] The optimum width of the rectangular area in which the controls are to be contained. - desiredHeight
[OutAttribute] The optimum height of the rectangular area in which the controls are to be contained.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.
See Also
Reference
ScrollViewer Class
ScrollViewer Members
Microsoft.SPOT.Presentation.Controls Namespace