Skip to content

DevExpress-Examples/reporting-wpf-designer-data-provider-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reporting for WPF - Customize the Data Providers List in the Data Source Wizard

The following example customizes the Report Wizard and Data Source Wizard pages. Both wizards display "Select a Data Connection Type" (ChooseDataProviderPage) as the start page. The list of available SQL data source providers is limited to MSSQLServer, Oracle, Amazon Redshift, MySQL, Postgres, and SQLite.

Implementation Details

The MyWizardCustomizationService class implements the IWizardCustomizationService interface and allows you to customize the Data Source and Report Wizards. The CustomizeDataSourceWizard and CustomizeReportWizard methods contain the main logic for wizard customization:

  • StartPage - sets the wizard start page to the ChooseDataProviderPage.
  • ReportType - specifies the report type in the report model.
  • DataSourceType - specifies the data source type in the report model.

The CustomizeProviders method limits the available data source types and providers to a predefined list.

The ReportDesigner.ServicesRegistry property registers the MyWizardCustomizationService type in XAML.

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Customize the list of data providers displayed on the "Select a Data Connection Type" page.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •