Skip to main content

CsvExportOptions.UseCustomSeparator Property

Specifies whether to use the default system or a custom separator character for CSV export.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

[TypeConverter(typeof(BooleanTypeConverter))]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden)]
public bool UseCustomSeparator { get; set; }

Property Value

Type Description
Boolean

true, to use a custom separator; otherwise, false. The default is false.

Property Paths

You can access this nested property as listed below:

Object Type Path to UseCustomSeparator
ExportOptions
.Csv .UseCustomSeparator

Remarks

This property is in effect only at design time and is hidden from IntelliSense.

  • When this property is set to false, the CsvExportOptions.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 this property is set to true, the CsvExportOptions.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