CellMeasured(Int32, Int32, Size) Method

Definition

Assembly Avalonia.Controls.TreeDataGrid.dll

Called by the Avalonia.Controls.Models.TreeDataGrid when a cell has been measured.

Size CellMeasured(int columnIndex, int rowIndex, Size size)

Parameters

columnIndex
Int32

The cell column index or -1 for a row header.

rowIndex
Int32

The cell row index or -1 for a column header.

size
Avalonia.Size

The measured size.

Returns

Avalonia.Size
The desired size of the cell after column sizing has been applied.