ContentPresenter.

MeasureOverride(Size) Method

Summary

Measures the control and its child elements as part of a layout pass.

Syntax

protected override Size MeasureOverride(Size availableSize)

Parameters

Name Type Description
availableSize Size The size available to the control.

Return Value

Type Description
Size The desired size for the control.