# DataGridControl.FindRowByValue method (1 of 2)

Finds the first row whose cell value in the specified column equals the specified value. Returns InvalidRowIndex if no row is found.

```csharp
public int FindRowByValue(GridColumn column, object? value)
```

## See Also

* class [GridColumn](../GridColumn.md)
* class [DataGridControl](../DataGridControl.md)
* namespace [Eremex.AvaloniaUI.Controls.DataGrid](../index.md)

---

# DataGridControl.FindRowByValue method (2 of 2)

Finds the first row whose cell value in the specified field equals the specified value. Returns InvalidRowIndex if no row is found.

```csharp
public int FindRowByValue(string fieldName, object? value)
```

## See Also

* class [DataGridControl](../DataGridControl.md)
* namespace [Eremex.AvaloniaUI.Controls.DataGrid](../index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls.dll -->
