MeasureOverride Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Measures the size of the layout area required for child elements.
Namespace: Microsoft.SPOT.Presentation.Controls
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Protected Overrides Sub MeasureOverride ( _
availableWidth As Integer, _
availableHeight As Integer, _
<OutAttribute> ByRef desiredWidth As Integer, _
<OutAttribute> ByRef desiredHeight As Integer _
)
protected override void MeasureOverride(
int availableWidth,
int availableHeight,
out int desiredWidth,
out int desiredHeight
)
protected:
virtual void MeasureOverride(
int availableWidth,
int availableHeight,
[OutAttribute] int% desiredWidth,
[OutAttribute] int% desiredHeight
) override
abstract MeasureOverride :
availableWidth:int *
availableHeight:int *
desiredWidth:int byref *
desiredHeight:int byref -> unit
override MeasureOverride :
availableWidth:int *
availableHeight:int *
desiredWidth:int byref *
desiredHeight:int byref -> unit
protected override function MeasureOverride(
availableWidth : int,
availableHeight : int,
desiredWidth : int,
desiredHeight : int
)
Parameters
- availableWidth
Type: System. . :: . .Int32
The available width of the rectangular area that the panel can allocate to the child element.
- availableHeight
Type: System. . :: . .Int32
The available height of the rectangular area that the panel can allocate to the child element.
- desiredWidth
Type: System. . :: . .Int32%
The optimum width of the rectangular area that the panel is to allocate to the child element.
- desiredHeight
Type: System. . :: . .Int32%
The optimum height of the rectangular area that the panel is to allocate to the child element.
.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.