windowsforms-devexpress-dot-xtraspreadsheet-dot-spreadsheetdatasourcewizardoptions-c11da88c.md
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.v25.2.dll
NuGet Package : DevExpress.Win.Spreadsheet
[Browsable(false)]
[DefaultValue(DataSourceTypes.All)]
public DataSourceTypes DataSourceTypes { get; set; }
<Browsable(False)>
<DefaultValue(DataSourceTypes.All)>
Public Property DataSourceTypes As DataSourceTypes
| 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.
|
You can access this nested property as listed below:
| Object Type | Path to DataSourceTypes |
|---|---|
| SpreadsheetControlOptions |
.DataSourceWizard .DataSourceTypes
|
Use bitwise OR to combine data source types to show them on the "Select the data source type" page illustrated below.
See Also
SpreadsheetDataSourceWizardOptions Class