DataAwareExportOptionsBase.CustomizeCell Event
When exporting data from the grid to XLS or XLSX 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
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 (CustomizeCellEventArgs.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