Pivot.MeasureOverride Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Measures the size in layout required for child elements and determines a size for the FrameworkElement-derived class.

Namespace: Microsoft.Phone.Controls
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

Protected Overrides Function MeasureOverride ( _
    availableSize As Size _
) As Size
protected override Size MeasureOverride(
    Size availableSize
)

Parameters

Return Value

Type: System.Windows..::.Size
Returns Size. The size that this element determines it needs during layout, based on its calculations of child element sizes.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

Pivot Class

Microsoft.Phone.Controls Namespace