Back to Devexpress

SpreadsheetDataSourceWizardOptions.DataSourceTypes Property

windowsforms-devexpress-dot-xtraspreadsheet-dot-spreadsheetdatasourcewizardoptions-c11da88c.md

latest3.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Spreadsheet

Declaration

csharp
[Browsable(false)]
[DefaultValue(DataSourceTypes.All)]
public DataSourceTypes DataSourceTypes { get; set; }
vb
<Browsable(False)>
<DefaultValue(DataSourceTypes.All)>
Public Property DataSourceTypes As DataSourceTypes

Property Value

TypeDefaultDescription
DataSourceTypesAll

A DataSourceTypes enumeration member.

|

Available values:

NameDescription
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 TypePath 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.

See Also

SpreadsheetDataSourceWizardOptions Class

SpreadsheetDataSourceWizardOptions Members

DevExpress.XtraSpreadsheet Namespace