# DataStoreExtensions.GetRowOfIndexPath<T> examples

Examples for [GetRowOfIndexPath<T>](https://eto.picoe.ca/api/type/eto.forms.datastoreextensions/getrowofindexpath.md) in Eto.Forms.DataStoreExtensions.

## C#

```cs
using Eto.Forms;

// As an extension method
int result = store.GetRowOfIndexPath(indexPath);

// As a static method
result = DataStoreExtensions.GetRowOfIndexPath(store, indexPath);
```

## Python

```python
import clr
clr.AddReference('Eto')
import Eto.Forms
clr.ImportExtensions(Eto.Forms)

# As an extension method
result = store.GetRowOfIndexPath(index_path)

# As a static method
result = Eto.Forms.DataStoreExtensions.GetRowOfIndexPath(store, index_path)
```
