# GridCellFormatEventArgs 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 GridCellFormatEventArgs : EventArgs
```

Event arguments to format a cell in a [Grid](https://eto.picoe.ca/api/type/eto.forms.grid.md)

## Constructors

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

## Properties

- [BackgroundColor](https://eto.picoe.ca/api/type/eto.forms.gridcellformateventargs/backgroundcolor.md): Gets or sets the background color for the cell
- [Column](https://eto.picoe.ca/api/type/eto.forms.gridcellformateventargs/column.md): Gets the column to format
- [Font](https://eto.picoe.ca/api/type/eto.forms.gridcellformateventargs/font.md): Gets or sets the font to use for the cell, or null to use the default font
- [ForegroundColor](https://eto.picoe.ca/api/type/eto.forms.gridcellformateventargs/foregroundcolor.md): Gets or sets the foreground color for the cell contents
- [Item](https://eto.picoe.ca/api/type/eto.forms.gridcellformateventargs/item.md): Gets the item that is associated with the row being formatted
- [Row](https://eto.picoe.ca/api/type/eto.forms.gridcellformateventargs/row.md): Gets the row number in the data source

## Methods

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