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.1.dll

Declaration

public event CustomizeCellEventHandler CustomizeCell
Public Event CustomizeCell As CustomizeCellEventHandler

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