DataGrid.

MeasureOverride(Size) Method

Summary

Measures the children of a DataGridRow to prepare for arranging them during the Avalonia.Controls.DataGridRow.ArrangeOverride(System.Windows.Size) pass.
Namespace
Avalonia.Controls
Containing Type
DataGrid

Syntax

protected override Size MeasureOverride(Size availableSize)

Parameters

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

Return Value

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