# GridRowFormatEventArgs class

Namespace: [Eto.Forms](https://eto.picoe.ca/api/namespace/eto.forms.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
public abstract class GridRowFormatEventArgs : EventArgs
```

Event arguments for formatting a row in a [Grid](https://eto.picoe.ca/api/type/eto.forms.grid.md) using the [Grid.RowFormatting](https://eto.picoe.ca/api/type/eto.forms.grid/rowformatting.md) event.

## Constructors

- [GridRowFormatEventArgs](https://eto.picoe.ca/api/type/eto.forms.gridrowformateventargs/ctor.md): Initializes a new instance of the GridRowFormatEventArgs class.

## Properties

- [BackgroundColor](https://eto.picoe.ca/api/type/eto.forms.gridrowformateventargs/backgroundcolor.md): Gets or sets the background color for the cell
- [Item](https://eto.picoe.ca/api/type/eto.forms.gridrowformateventargs/item.md): Gets the item that is associated with the row being formatted
- [Row](https://eto.picoe.ca/api/type/eto.forms.gridrowformateventargs/row.md): Gets the row number in the data source

## Methods

- [GetRow](https://eto.picoe.ca/api/type/eto.forms.gridrowformateventargs/getrow.md): Overridable method to get the row number for this event.
