Skip to main content

CsvDocumentImporterOptions.TrimBlanks Property

Gets or sets whether to remove all leading and trailing white-space characters from each imported string value.

Namespace: DevExpress.XtraSpreadsheet.Import

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

[DefaultValue(false)]
public override bool TrimBlanks { get; set; }

Property Value

Type Default Description
Boolean false

true, to remove leading and trailing blanks; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to TrimBlanks
WorkbookImportOptions
.Csv .TrimBlanks
See Also