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.2.dll
NuGet Package: DevExpress.Win.Spreadsheet
#Declaration
[Browsable(false)]
[DefaultValue(DataSourceTypes.All)]
public DataSourceTypes DataSourceTypes { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Data |
All | A Data |
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. |
Entity |
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. |
Mongo |
Indicates a Mongo |
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 Data |
---|---|
Spreadsheet |
|
#Remarks
Use bitwise OR to combine data source types to show them on the "Select the data source type" page illustrated below.