# DataGridControl.GetSourceItemValue method (1 of 2)

Gets the value of the specified column's field for the data source item at the specified index.

```csharp
public object? GetSourceItemValue(int sourceItemIndex, GridColumn column)
```

## See Also

* class [GridColumn](../GridColumn.md)
* class [DataGridControl](../DataGridControl.md)
* namespace [Eremex.AvaloniaUI.Controls.DataGrid](../index.md)

---

# DataGridControl.GetSourceItemValue method (2 of 2)

Gets the value of the specified field for the data source item at the specified index.

```csharp
public object? GetSourceItemValue(int sourceItemIndex, string fieldName)
```

## See Also

* class [DataGridControl](../DataGridControl.md)
* namespace [Eremex.AvaloniaUI.Controls.DataGrid](../index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls.dll -->
