Edit

Share via


LayoutTransformControl.MeasureOverride(Size) Method

Definition

Provides the behavior for the "Measure" pass of layout.

protected override Windows.Foundation.Size MeasureOverride (Windows.Foundation.Size availableSize);
override this.MeasureOverride : Windows.Foundation.Size -> Windows.Foundation.Size
Protected Overrides Function MeasureOverride (availableSize As Size) As Size

Parameters

availableSize
Size

The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available.

Returns

The size that this element determines it needs during layout, based on its calculations of child element sizes.

Applies to