Skip to main content

MeasureOverride Method

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

Definition

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

protected override Size MeasureOverride(
Size availableSize
)

Parameters

  Size
The size available to the control.

Return Value

Size
The desired size for the control.

See Also

Reference

Viewbox Class
Avalonia.Controls Namespace