.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

TxtDocumentImporterOptions.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.v21.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
.Txt.TrimBlanks
See Also