# DataGridControl.GetSourceItemIndexByRowIndex method

Gets the data source index of the row at the specified index.

```csharp
public int GetSourceItemIndexByRowIndex(int rowIndex)
```

## See Also

* class [DataGridControl](../DataGridControl.md)
* namespace [Eremex.AvaloniaUI.Controls.DataGrid](../index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls.dll -->
