Skip to main content

ExcelSourceOptionsBaseViewModel.UseFirstRowAsHeader Property

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

public virtual bool UseFirstRowAsHeader { get; set; }

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 UseFirstRowAsHeader
ChooseFileOptionsPage
.SourceOptionsViewModel .UseFirstRowAsHeader

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