Skip to main content

GridControl.OptionsExportCsv Property

Gets or sets how grid data is exported to CSV format.

Namespace: DevExpress.Mobile.DataGrid

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

Declaration

public CsvExportOptions OptionsExportCsv { get; set; }

Property Value

Type Description
CsvExportOptions

A CsvExportOptions object that defines CSV-specific export options.

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.

Create an instance of the CsvExportOptions class and assign it to the OptionsExportCsv property to apply required settings when exporting data from the GridControl to CSV format.

To export grid data in CSV format, use the GridControl.ExportToExcel method with the ExportTarget.Csv value passed as the format parameter.

See Also