ModelIndexToRowIndex(IndexPath) Method

Definition

Assembly Avalonia.Controls.TreeDataGrid.dll

Given a model index, returns an index into Rows.

int ModelIndexToRowIndex(IndexPath modelIndex)

Parameters

modelIndex
IndexPath

The model index.

Returns

Int32
The row index, or -1 if the model index is not displayed.