Skip to main content

MeasureOverride Method

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

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

protected override Size MeasureOverride(
Size availableSize
)

Parameters

  Size
The available size that this element can give to child elements.

Return Value

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

See Also

Reference

LayoutTransformControl Class
Avalonia.Controls Namespace