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
- width
Type: System. . :: . .Int32%
The current element's width.
- height
Type: System. . :: . .Int32%
The current element's height.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.