ExcelSourceOptionsBaseViewModel.UseFirstRowAsHeader Property
In This Article
Specifies whether to process the values of the first row as headers.
Namespace: DevExpress.Xpf.DataAccess.DataSourceWizard
Assembly: DevExpress.Xpf.DataAccess.v24.2.dll
NuGet Package: DevExpress.Wpf.Reporting
#Declaration
#Property Value
Type | Description |
---|---|
Boolean | true, to process the values of the first row as headers; otherwise, false. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Use |
---|---|
Choose |
|
#Remarks
If you set the UseFirstRowAsHeader property to false, field names will be generated automatically.
If necessary, you can disable this option and create a custom schema for the Excel data source using the ConfigureExcelFileColumnsPage.Schema property.
See Also