Reporting for WPF - How to Customize a Report Data Source in Code This example illustrates how to replace an existing component (data source) with a new one and assign it to a report. MainWindow.xaml.cs (VB: MainWindow.xaml.vb) Does this example address your development requirements/objectives? (you will be redirected to DevExpress.com to submit your response)