TabPanel.MeasureOverride Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Called when remeasuring the control is required.

Namespace:  System.Windows.Controls.Primitives
Assembly:  System.Windows.Controls (in System.Windows.Controls.dll)

Syntax

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

Parameters

  • availableSize
    Type: System.Windows.Size
    Constraint size as an upper limit. The return value should not exceed this size.

Return Value

Type: System.Windows.Size
The measured size of the control.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.