Skip to main content

MeasureOverride Method

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

Definition

Namespace: Avalonia.Layout
Assembly: Avalonia.Base (in Avalonia.Base.dll)

protected virtual Size MeasureOverride(
Size availableSize
)

Parameters

  Size
The size available to the control.

Return Value

Size
The desired size for the control.

See Also

Reference

Layoutable Class
Avalonia.Layout Namespace