Allows you to customize the appearance of cells in the grid.
public event CustomizeCellEventHandler CustomizeCell
Public Event CustomizeCell As CustomizeCellEventHandler
The CustomizeCell event is raised before a data cell is painted. Use the FieldName and RowHandle parameters to identify a column and row containing the cell, and BackgroundColor and ForeColor to set cell colors. Set the Handled parameter to true to prohibit default cell painting.
This example demonstrates how to customize the appearance of cells in the specified grid column depending on cell values by handling the GridControl.CustomizeCell event.
The image below illustrates the result.