Skip to main content

CsvDocumentImporterOptions.ClearWorksheetBeforeImport Property

Gets or sets whether to clear a worksheet before importing data.

Namespace: DevExpress.XtraSpreadsheet.Import

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

[DefaultValue(true)]
public override bool ClearWorksheetBeforeImport { get; set; }

Property Value

Type Default Description
Boolean true

true, to delete worksheet content; otherwise, false.

Property Paths

You can access this nested property as listed below:

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