Skip to main content

MeasureCore Method

The default implementation of the control's measure pass.

Definition

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

protected virtual Size MeasureCore(
Size availableSize
)

Parameters

  Size
The size available to the control.

Return Value

Size
The desired size for the control.

Remarks

This method calls MeasureOverride(Size) which is probably the method you want to override in order to modify a control's arrangement.

See Also

Reference

Layoutable Class
Avalonia.Layout Namespace