## GridRowCollection class

Encapsulates a collection of [`GridRow`](../gridrow/) objects.

```csharp
public class GridRowCollection
```

## Properties

| Name | Description |
| --- | --- |
| [Count](../../aspose.cells.griddesktop.data/gridrowcollection/count/) { get; } |  |
| [Item](../../aspose.cells.griddesktop.data/gridrowcollection/item/) { get; } | Gets a  object by given row index. The Row object of given row index will be instantiated if it does not exist before. |

## Methods

| Name | Description |
| --- | --- |
| [GetEnumerator](../../aspose.cells.griddesktop.data/gridrowcollection/getenumerator/)() | Gets the rows enumerator |
| [GetRowByIndex](../../aspose.cells.griddesktop.data/gridrowcollection/getrowbyindex/)(int) | Gets the row object by the position in the list. |

### See Also

* namespace [Aspose.Cells.GridDesktop.Data](../../aspose.cells.griddesktop.data/)
* assembly [Aspose.Cells.GridDesktop](../../)


