Skip to main content
Row

DataImportOptions.Converter Property

Gets or sets a converter for imported data.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public IDataValueConverter Converter { get; set; }

Property Value

Type Description
IDataValueConverter

An object implementing the IDataValueConverter interface.

Remarks

The following example demonstrates using a custom converter in the WorksheetExtensions.Import method.

Example

View Example

Dim list As New List(Of TestObject)()
list.Add(New TestObject(1, "1", True))
list.Add(New TestObject(2, "2", False))
worksheet.Import(list, 0, 0, New DataSourceImportOptions() With {.Converter = New TestDataValueConverter()})
See Also