officefileapi-devexpress-dot-spreadsheet-dot-rangedatasourceoptions-69431b32.md
Gets or sets the detector used to identify the name and type of each column in the resulting data source.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public IDataSourceColumnTypeDetector DataSourceColumnTypeDetector { get; set; }
Public Property DataSourceColumnTypeDetector As IDataSourceColumnTypeDetector
| Type | Description |
|---|---|
| IDataSourceColumnTypeDetector |
An object implementing the IDataSourceColumnTypeDetector interface.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the DataSourceColumnTypeDetector 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.
options.CellValueConverter = new MyPictureProvider(wb.Worksheets[0]);
options.DataSourceColumnTypeDetector = new MyColumnDetector();
string dsName = wb.Worksheets[0].Tables[0].Name;
winforms-spreadsheet-use-cell-range-as-data-source/CS/RangeDataSource/Form1.cs#L35
options.UseFirstRowAsHeader = false;
options.DataSourceColumnTypeDetector = new MyColumnDetector();
}
options.CellValueConverter = New MyPictureProvider(wb.Worksheets(0))
options.DataSourceColumnTypeDetector = New MyColumnDetector()
Dim dsName As String = wb.Worksheets(0).Tables(0).Name
winforms-spreadsheet-use-cell-range-as-data-source/VB/RangeDataSource/Form1.vb#L39
options.UseFirstRowAsHeader = False
options.DataSourceColumnTypeDetector = New MyColumnDetector()
End If
See Also