Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SpreadsheetControlOptions.DataSourceWizard Property

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

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v24.2.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