GetRowAt(Double) Method

Definition

Assembly Avalonia.Controls.TreeDataGrid.dll

Gets the index and Y position of the row at the specified Y position, if it can be calculated.

(int index, double y) GetRowAt(double y)

Parameters

y
Double

The Y position

Returns

(T1 Item1, T2 Item2)<Int32, Double>
A tuple containing the row index and Y position of the row, or (-1,-1) if the row could not be calculated.