GetDesiredSize Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

'Declaration
Public Sub GetDesiredSize ( _
    <OutAttribute> ByRef width As Integer, _
    <OutAttribute> ByRef height As Integer _
)
public void GetDesiredSize(
    out int width,
    out int height
)
public:
void GetDesiredSize(
    [OutAttribute] int% width, 
    [OutAttribute] int% height
)
member GetDesiredSize : 
        width:int byref * 
        height:int byref -> unit 
public function GetDesiredSize(
    width : int, 
    height : int
)

Parameters

.NET Framework Security

See Also

Reference

UIElement Class

Microsoft.SPOT.Presentation Namespace