UIElement.GetDesiredSize Method
Gets the current element's size, as computed during the measure pass of the layout process.
Namespace: Microsoft.SPOT.Presentation
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)
Syntax
public void GetDesiredSize (
ref int width,
ref int height
)
Parameters
- width
[OutAttribute] The current element's width. - height
[OutAttribute] The current element's height.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.
See Also
Reference
UIElement Class
UIElement Members
Microsoft.SPOT.Presentation Namespace