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 intwidth,
ref intheight
)
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, and 4.1.
See Also
Reference
UIElement Class
UIElement Members
Microsoft.SPOT.Presentation Namespace