CsvExportOptions.Separator Property
Specifies the character(s) used to separate text elements when exporting a document to a text-based file.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v20.2.Core.dll
NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core
Declaration
Property Value
Type | Description |
---|---|
String | A String value, specifying the separator character(s). |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to Separator |
---|---|---|
Cross-Platform Class Library | ExportOptions |
|
WPF Controls | ExportOptionsContainer |
|
Remarks
This property is in effect only when the CsvExportOptions.UseCustomSeparator property is set to true.
When the UseCustomSeparator property is set to false, the Separator property is disabled in the Property Grid, which indicates its actual value (by adding the “Using System Separator“ note to it).
When the UseCustomSeparator property is set to true, the Separator property’s value becomes empty and editable and the new custom value becomes serializable.
Use the CsvExportOptions.GetActualSeparator property to find out which separator is applied on export to CSV.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Separator property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.