Skip to main content

SpreadsheetDataSourceWizardOptions.DataSourceTypes Property

Gets or sets data source types displayed on the "Select the data source type" page of the Data Source Wizard.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v24.1.dll

NuGet Package: DevExpress.Win.Spreadsheet

Declaration

[Browsable(false)]
[DefaultValue(DataSourceTypes.All)]
public DataSourceTypes DataSourceTypes { get; set; }

Property Value

Type Default Description
DataSourceTypes All

A DataSourceTypes enumeration member.

Available values:

Name Description
Sql

Specifies that an SQL database is available for data binding from the Data Source Wizard.

Excel

Specifies that a data source used to extract data from Microsoft® Excel® documents is available for data binding from the Data Source Wizard.

EntityFramework

Specifies that an Entity Framework data source is available for data binding from the Data Source Wizard.

Object

Specifies that an object data source is available for data binding from the Data Source Wizard.

Json

Indicates a JSON data source.

Federation

Indicates a Federated data source.

MongoDB

Indicates a MongoDB data source.

All

Specifies that all data source types are available for data binding from the Data Source Wizard.

Property Paths

You can access this nested property as listed below:

Object Type Path to DataSourceTypes
SpreadsheetControlOptions
.DataSourceWizard .DataSourceTypes

Remarks

Use bitwise OR to combine data source types to show them on the "Select the data source type" page illustrated below.

Howto-Bind-Snap-Report-to-Data01a

See Also