# RowColumn struct

Namespace: [Grasshopper2.UI](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public struct RowColumn
```

Represents a row+column index pair.

## Constructors

- [RowColumn](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rowcolumn/ctor.md): Create a new row+column index pair from scratch.

## Properties

- [Col](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rowcolumn/col.md): Gets the column index.
- [ColCount](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rowcolumn/colcount.md): Gets the number of columns
- [IsValid](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rowcolumn/isvalid.md): Gets whether this index pair is considered valid.
- [Row](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rowcolumn/row.md): Gets the row index.
- [RowCount](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rowcolumn/rowcount.md): Gets the number of rows.
- [RowsFirst](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rowcolumn/rowsfirst.md): Gets whether rows are filled before columns.

## Methods

- [CellOutline](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rowcolumn/celloutline.md): Assuming equal row and column sizes, gets the bounds of the current cell.
- [ColumnFill](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rowcolumn/columnfill.md): (static) Create a new row+column index pair at (0,0).
- [Next](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rowcolumn/next.md): Move to next cell.
- [NextCol](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rowcolumn/nextcol.md): Move this index pair to the start of the next column.
- [NextRow](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rowcolumn/nextrow.md): Move this index pair to the start of the next row.
- [Prev](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rowcolumn/prev.md): Move to previous cell.
- [RowFill](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rowcolumn/rowfill.md): (static) Create a new row+column index pair at (0,0).

## Operators

- [operator --](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rowcolumn/op-decrement.md): (static) Decrement this pair to the previous cell.
- [operator ++](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rowcolumn/op-increment.md): (static) Increment this pair to the next cell.
