TabPanel.MeasureOverride Method (Size)

 

Called when remeasuring the control is required.

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

protected override Size MeasureOverride(
	Size constraint
)

Parameters

constraint
Type: System.Windows.Size

Constraint size is an upper limit. The return value should not exceed this size.

Return Value

Type: System.Windows.Size

The desired size.

This method updates the desired size of a tab panel. It is called by the parent UIElement.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Return to top
Show: