Code:
private void DataGrid_UnloadingRow(object sender, DataGridRowEventArgs e)
{
var dataGridRow = e.Row;
[...]
}
When I extract the Row.GetIndex()
, I always get -1. Is there a way to find the row index that used to be occupied by the gone row?
TIA.