Skip to main content

CsvExportOptions Members

Contains options which define how grid data is exported to CSV format.

Constructors

Name Description
CsvExportOptions() Initializes a new instance of the CsvExportOptions class with default settings.
CsvExportOptions(String, Encoding) Initializes a new instance of the CsvExportOptions class with the specified separator and encoding settings.

Fields

Name Description
SeparatorProperty static Identifies the TextExportOptionsBase.Separator bindable property. Inherited from TextExportOptionsBase.
WritePreambleProperty static Identifies the CsvExportOptions.WritePreamble bindable property.

Properties

Name Description
Encoding Gets or sets the encoding of the text-based file to which grid’s data is exported. Inherited from TextExportOptionsBase.
Separator Gets or sets the symbol(s) to separate text elements when grid data is exported to a text-based file. Inherited from TextExportOptionsBase.
WritePreamble Gets or sets whether to write a prefix that is the sequence of bytes that specifies the encoding used.

Methods

Name Description
Assign(ExportOptionsBase) Copies all settings from the options object passed as a parameter.

Events

Name Description
CustomizeCell When exporting data from the grid to CSV format, this event allows you to customize a cell in the output document.
CustomizeDataArea When exporting to CSV format, this event allows you to customize data in the output document.
CustomizeFooter When exporting to CSV format, this event allows you to add a footer to the output document.
CustomizeHeader When exporting to CSV format, this event allows you to add a header to the output document.
CustomizeSheet When exporting to CSV format, this event allows you to customize the output document’s settings.
ExportProgress Fires repeatedly while the data is being exported.
See Also