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

DataTableExportOptions.ConvertEmptyCells Property

Gets or sets whether a cell with an empty value is processed by a converter.

Namespace: DevExpress.Spreadsheet.Export

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

Declaration

public bool ConvertEmptyCells { get; set; }

Property Value

Type Description
Boolean

true, to process cells with empty values; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ConvertEmptyCells
DataTableExporter
.Options.ConvertEmptyCells

Remarks

Cells with empty values (the CellValue.IsEmpty property is true) are skipped for better performance. Corresponding values in the target DataTable are left intact.

To run a converter for empty cells, set the ConvertEmptyCells option to true.

If the entire row in the source range does not contain values, and the DataTableExportOptions.ConvertEmptyCells option is set to true, the ConvertEmptyCells setting is ignored.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ConvertEmptyCells property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also