Skip to main content

CustomCellStyleEventArgs Properties

Provides data for the DataGridView.CustomCellStyle event.
Name Description
BackgroundColor Gets or sets the cell background color.
FieldName Gets the field name of the column that contains the cell.
FontAttributes Gets or sets whether the cell text is bold or italic.
FontColor Gets or sets the cell text color.
FontFamily Gets or sets the font family name for the cell text.
FontSize Gets or sets the cell text size.
Item Gets an object that specifies the data source’s item to which the grid’s data row corresponds.
RowHandle Gets the handle of the row that contains the cell.
TextDecorations Gets or sets whether the cell text is underlined and/or strike-through.
See Also