Skip to main content

MeasureOverride Method

Measures the children of a DataGridRow to prepare for arranging them during the ArrangeOverride(Size) pass.

Definition

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

protected override Size MeasureOverride(
Size availableSize
)

Parameters

  Size
The available size that this element can give to child elements. Indicates an upper limit that child elements should not exceed.

Return Value

Size
The size that the DataGridRow determines it needs during layout, based on its calculations of child object allocated sizes.

See Also

Reference

DataGrid Class
Avalonia.Controls Namespace