Skip to main content

MeasureOverride Method

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

Definition​

Namespace: Avalonia.Controls.Primitives
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​

VisualLayerManager Class
Avalonia.Controls.Primitives Namespace