Skip to main content

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.v23.2.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
.Txt .TrimBlanks
See Also