Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

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.v20.2.Core.dll

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