Skip to main content

CsvExportOptions.CustomizeCell Event

When exporting data from the grid to CSV format, this event allows you to customize a cell in the output document.

Namespace: DevExpress.Mobile.Export

Assembly: DevExpress.Mobile.Core.v18.2.dll

Declaration

public event CustomizeCellEventHandler CustomizeCell

Remarks

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

The CustomizeCell event allows you to customize cells in the exported document by applying the following modifications.

  • Substitute a cell value (CustomizeCellEventArgs.Value).
  • Insert a hyperlink in a cell (CustomizeCellEventArgs.Hyperlink).
  • Customize the cell’s format, font and background color (CustomizeCellEventArgsBase.Formatting).

To apply changes made in your CustomizeCell event handler, set the event’s Handled parameter to true. Otherwise, a cell will be exported using the default settings.

See Also