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

Declaration

public override string Separator { get; set; }

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
.Csv.Separator
WPF Controls ExportOptionsContainer
.Csv.Separator

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).

    csv-use-custom-separator-false

  • When the UseCustomSeparator property is set to true, the Separator property’s value becomes empty and editable and the new custom value becomes serializable.

    csv-use-custom-separator-true

Use the CsvExportOptions.GetActualSeparator property to find out which separator is applied on export to CSV.

See Also