CellMeasured(Double, Int32) Method

Definition

Assembly Avalonia.Controls.TreeDataGrid.dll

Notifies the column that a cell has been measured.

double CellMeasured(double width, int rowIndex)

Parameters

width
Double

The measured width, in pixels; as returned by the cell DesiredSize.

rowIndex
Int32

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

Returns

Double
The width of the cell updated with the column width.