GetColumnAt(Double) Method

Definition

Assembly Avalonia.Controls.TreeDataGrid.dll

Gets the index and X position of the column at the specified X position, if it can be calculated.

(int index, double x) GetColumnAt(double x)

Parameters

x
Double

The X position

Returns

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