Skip to main content

SpreadsheetControlOptions.DataSourceWizard Property

Provides access to the customization options of the Data Source Wizard.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v24.1.dll

NuGet Package: DevExpress.Win.Spreadsheet

Declaration

public SpreadsheetDataSourceWizardOptions DataSourceWizard { get; }

Property Value

Type Description
SpreadsheetDataSourceWizardOptions

A SpreadsheetDataSourceWizardOptions object containing options which affect the layout and behavior of the Data Source Wizard and Query Builder.

Property Paths

You can access this nested property as listed below:

Object Type Path to DataSourceWizard
SpreadsheetControl
.Options .DataSourceWizard

Remarks

Use the DataSourceWizard property to get access to the SpreadsheetDataSourceWizardOptions object. Use the object’s properties to restrict the number of available data source types displayed on the "Select the data source type" page of the Data Source Wizard (SpreadsheetDataSourceWizardOptions.DataSourceTypes), allow end-users to edit SQL text directly in the Data Source Wizard and Query Designer (SpreadsheetDataSourceWizardOptions.EnableCustomSql and SpreadsheetDataSourceWizardOptions.QueryBuilderLight), disable the capability to create new connections in the Data Source Wizard (SpreadsheetDataSourceWizardOptions.DisableNewConnections), and save user credentials automatically (SpreadsheetDataSourceWizardOptions.AlwaysSaveCredentials).

See Also