NeedsFinalMeasurePass(Int32, IReadOnlyList<Control?>) Method

Definition

Assembly Avalonia.Controls.TreeDataGrid.dll

Called when the initial pass of the two-pass measure has been completed, in order to determine whether a final measure pass is necessary.

protected virtual bool NeedsFinalMeasurePass(int firstIndex, IReadOnlyList<Control?> elements)

Parameters

firstIndex
Int32

The index of the first element in elements.

elements
IReadOnlyList<Control?>

The elements being measured.

Returns

Boolean
true if a final pass should be run; otherwise false.